npbosch

Members
  • Content count

    446
  • Joined

  • Last visited

Community Reputation

0 Neutral

About npbosch

  • Rank
    Member
  1. npbosch

    ATTN NORBERT re Fbus

    Hi Guys,I got everything working in fsbus except the analog inputs (potmeters). There was a time when they worked when testing with fsadmin (also in VC, never tested them with cdk). But lateron I did not get it to work again. I do not understand why, but gave up.Thats not a big issue, all the others things leds,servo,switches, display work without any problem.It is even better to NOT use pots with the fsbus system. Especially thats is true for controls, the interaction with the pc is faster when they communicate via windows directly, besides that FSUIPC has great possibilities to handle them. I use the usb card from Leo Bodnar, and are very happy with it.http://www.lbodnar.dsl.pipex.com/joystick/It can accept 8 potmeters and 32 buttons. (but FSUIPC is only capable off seeing 6). It is possible to hook more of these cards to one pc.
  2. The webmaster will help you I am sure.I have all the code here: and translated the few Dutch lines in it.Perhaps it can be of any help for al the English talking FSBUS users.I can confirm that all this code works with me.Some parts have already a CID and RID, change that to your setting offcourse.Another advice, start with one thing at a time, get it working and add the second one.Put all the F objects in one file together (will be the same for every builder), put C A R objects in separate files ( all centre pedestals things in one file, everything in the OVH in one file etc). NorbertGEAR I use 2 microswitches. One closes when gear up, one when it is down F, FGearPosition 0, 0x0be8, U32, 1, 1, 6, 0, W C, CSGearUp, SWITCH, CID, RID, POSEDGE C, CSGearDown, SWITCH, CID, RID, POSEDGE R, , CSGearUp, FGearPosition,0, 1, 0, R, , CSGearDown, FGearPosition,0, 1, 16383,------------------------------------------------------TOGA buttonI use a simple momentary button with a led. Led not in the code yet. F, FAPATTOGA, 0, 0x080c, U32, 1, 1, 4, 0, W C, CSAPATTOGA, SWITCH, CID, RID, POSEDGE|TOGGLE R, TOGA, CSAPATTOGA, FAPATTOGA, 1, 1, 0,------------------------------------------------------Parking Braketoggle switchF, FParkBrake, 0, 0x0bc8, U16, 1, 1, 6, 0, W C, CSParkBrake, SWITCH, CID, RID, R, Parkbr, CSParkBrake, FParkBrake, 1, 1, 0,------------------------------------------------------AutobrakeI use a 12 position switch, 6 positions are used F, FAutobrake, 0, 0x2f80, U8, 1, 1, 6, 0, W C, CSAutobrRTO, SWITCH, CID, RID, POSEDGE C, CSAutobrOff, SWITCH, CID, RID, POSEDGE C, CSAutobr_1, SWITCH, CID, RID, POSEDGE C, CSAutobr_2, SWITCH, CID, RID, POSEDGE C, CSAutobr_3, SWITCH, CID, RID, POSEDGE C, CSAutobrMax, S WITCH, CID, RID, POSEDGE R, Autobr, CSAutobrRTO, FAutobrake, 0, 1, 0, R, , CSAutobrOff, FAutobrake, 0, 1, 1, R, , CSAutobr_1, FAutobrake, 0, 1, 2, R, , CSAutobr_2, FAutobrake, 0, 1, 3, R, , CSAutobr_3, FAutobrake, 0, 1, 4, R, , CSAutobrMax, FAutobrake, 0, 1, 5,------------------------------------------------------VOR/ADF IDENTButtons on the RMP to hear the morse identifcation code F, FRadioSound, 0, 0x3122, U8, 1, 1, 4, 0, RW F, FAdf2Sound, 0, 0x02fb, U8 , 1, 1, 4, 0, RW C, CSVor1Morse, SWITCH, CID, RID, POSEDGE|TOGGLE, C, CSVor2Morse, SWITCH, CID, RID, POSEDGE|TOGGLE, C, CSAdf1Morse, SWITCH, CID, RID, POSEDGE|TOGGLE, C, CSAdf2Morse, SWITCH, CID, RID, POSEDGE|TOGGLE, R, Morse, CSVor1Morse, FRadioSound, 16, 1, 0, R, , CSVor2Morse, FRadioSound, 8, 1, 0, R, , CSAdf1Morse, FRadioSound, 1, 1, 0, R, , CSAdf2Morse, FAdf2Sound, 1, 1, 0,------------------------------------------------------TransponderI use 2 rotaries, turn the first ccw , 1000 is added, turn cw 100 is added. the 2nd rotarie gives 10 and 1. This special xndr function is build into fsbus.The BCD flaf in the accumulator gives a 0 after the 7.F, FXpndr, 0, 0x0354, BCD4, 1, 1, 2, 0, RW C, CDXpndr, DISPLAY, CID, 0, LEADZERO, 4, 2, 0 C, CRXpndrL, ROTARY, CID, RID, C, CRXpndrR, ROTARY, CID, RID, A, AXpndr, 1, 7777, BCD R, Xpndr, CRXpndrR, AXpndr, -1, 1, 0, ADDVAL|XPNDR R, , CRXpndrL, AXpndr, -100, 1, 0, ADDVAL|XPNDR R, , AXpndr, CDXpndr, 1, 1, 0, R, , AXpndr, FXpndr, 1, 1, 0, R, , FXpndr, AXpndr, 1, 1, 0,------------------------------------------------------COM1/2Every com has 2 displays with 5 7segm leds , 2 rotaries(one for fractals, one for integers, and one swap button)F, FCom1, 0, 0x034e, BCD4T, 1, 1, 4, 0, RW F, FCom1Stb, 0, 0x311a, BCD4T, 1, 1, 4, 0, RW F, FCom1Swap, 0, 0x3123, U8, 1, 1, 4, 0, W F, FCom2, 0, 0x3118, BCD4T, 1, 1, 4, 0, RW F, FCom2Stb, 0, 0x311c, BCD4T, 1, 1, 4, 0, RW F, FCom2Swap, 0, 0x3123, U8, 1, 1, 4, 0, W C, CDCom1, DISPLAY, CID, 0, , 5, 1, 2 C, CDCom1Stb, DISPLAY, CID, 0, , 5, 1, 2 C, CRCom1Int, ROTARY, CID, RID, C, CRCom1Fract, ROTARY, CID, RID, C, CSCom1Swap, SWITCH, CID, RID, C, CDCom2, DISPLAY, CID, 0, , 5, 1, 2 C, CDCom2Stb, DISPLAY, CID, 0, , 5, 1, 2 C, CRCom2Int, ROTARY, CID, RID, C, CRCom2Fract, ROTARY, CID, RID, C, CSCom2Swap, SWITCH, CID, RID, A, ACom1Stb, 118000, 136000, A, ACom2Stb, 118000, 136000, R, Com1, FCom1Stb, ACom1Stb, 1, 1, 0, R, , ACom1Stb, FCom1Stb, 1, 1, 0, R, , ACom1Stb, CDCom1Stb, 1, 1, 0, R, , CRCom1Int, ACom1Stb, 1000, 1, 0, ADDVAL R, , CRCom1Fract, ACom1Stb, 25, 1, 0, ADDVAL R, , FCom1, CDCom1, 1, 1, 0, R, , CSCom1Swap, FRadioSwap, 8, 1, 0, R, Com2, FCom2Stb, ACom2Stb, 1, 1, 0, R, , ACom2Stb, FCom2Stb, 1, 1, 0, R, , ACom2Stb, CDCom2Stb, 1, 1, 0, R, , CRCom2Int, ACom2Stb, 1000, 1, 0, ADDVAL R, , CRCom2Fract, ACom2Stb, 25, 1, 0, ADDVAL R, , FCom2, CDCom2, 1, 1, 0, R, , CSCom2Swap, FRadioSwap, 4, 1, 0,------------------------------------------------------NAV1/2 same as aboveF, FNav1, 0, 0x0350, BCD4T, 1, 1, 4, 0, RW F, FNav1Stb, 0, 0x311e, BCD4T, 1, 1, 4, 0, RW F, FNav1Swap, 0 , 0x3123, U8, 1, 1, 4, 0, W F, FNav2, 0, 0x0352, BCD4T, 1, 1, 4, 0, RW F, FNav2Stb, 0, 0x3120, BCD4T, 1, 1, 4, 0, RW F, FNav2Swap, 0, 0x3123, U8, 1, 1, 4, 0, W C, CDNav1, DISPLAY, CID, 0, , 5, 1, 2 C, CDNav1Stb, DISPLAY, CID, 0, , 5, 1, 2 C, CRNav1Int, ROTARY, CID, RID, C, CRNav1Fract, ROTARY, CID, C, CSNav1Swap, SWITCH, CID, C, CDNav2, DISPLAY, CID, 0, , 5, 1, 2 C, CDNav2Stb, DISPLAY, CID, 0, , 5, 1, 2 C, CRNav2Int, ROTARY, CID, C, CRNav2Fract, ROTARY, CID, C, CSNav2Swap, SWITCH, CID, A, ANav1Stb, 108000, 117000, NO1000WRAP A, ANav2Stb, 108000, 117000, NO1000WRAP R, Nav1, FNav1Stb, ANav1Stb, 1, 1, 0, R, , ANav1Stb, FNav1Stb, 1, 1, 0, R, , ANav1Stb, CDNav1Stb, 1, 1, 0, R, , CRNav1Int, ANav1Stb, 1000, 1, 0, ADDVAL R, , CRNav1Fract, ANav1Stb, 50, 1, 0, ADDVAL R, , FNav1, CDNav1, 1, 1, 0, R, , CSNav1Swap, FRadioSwap, 2, 1, 0, R, Nav2, FNav2Stb, ANav2Stb, 1, 1, 0, R, , ANav2Stb, FNav2Stb, 1, 1, 0, R, , ANav2Stb, CDNav2Stb, 1, 1, 0, R, , CRNav2Int, ANav2Stb, 1000, 1, 0, ADDVAL R, , CRNav2Fract, ANav2Stb, 50, 1, 0, ADDVAL R, , FNav2, CDNav2, 1, 1, 0, R, , CSNav2Swap, FRadioSwap, 1, 1, 0,------------------------------------------------------ADF1/2Time for some basiccodeHardware. I use a panel with 2 displays (5 7 segm leds). It contains 2 dual concentric rotaries. Between the displays is a toggle switch. When it is swithced to the left, al the input of the rotaries go to ADF1 (left one). If the switch is toggled to the right side, the input goes to ADF2------------------------------------b777.dab file: dim Var_AdfSwap sub OnBegin LoadConfigFile("B777.ini") LoadConfigFile("B777_pedestal.ini") Var_AdfSwap = 1 Print ("FSBUS BASIC - RUNNING") end sub '------------------------------------------------------------------------------- ' ROTARY TRANFER ADF1/ADF2 ' pressing changes rotary activity from ADF1 tot ADF2 and vv. '------------------------------------------------------------------------------- SUB OnCSAdfSwap dim Var_AdfRot if Var_AdfSwap = 1 . then ' ADF Rotaries active on ADF2 Disable ("RAdf1" ) Var_AdfRot = Get("FAdf2")' Variable indicates ADF2 Frequency Set ("AAdfRot", Var_AdfRot) Enable ("RAdf2") Var_AdfSwap = 2 else ' ADF Rotaries active on ADF1 Disable ("RAdf2") Var_AdfRot = Get("FAdf1")' Variable indicates ADF1 Frequency Set ("AAdfRot", Var_AdfRot) Enable ("RAdf1") Var_AdfSwap = 1 end if END SUB ----------------------lines from b777.ini file ' FADF is computed intern. Do not use __FADF in router. FADF contains the ' complete ADF value F, FAdf1, 0, 0x034c, BCD4, 1, 1, 1, 0, RW F, __FAdf1, 0, 0x0356, BCD4, 1, 1, 1, 0, RW F, FAdf2, 0, 0x02d4, BCD4, 1, 1, 1, 0, RW F, __FAdf2, 0, 0x02d6, BCD4, 1, 1, 1, 0, RW ----------------------------------------------lines from b777_pedestal.ini: C, CDAdf1, DISPLAY, CID, LEADZERO, 5, 1, 1 C, CDAdf2, DISPLAY, CID, 0, LEADZERO, 5, 1, 1 C, CRAdf_100, ROTARY, CID, RID, C, CRAdf_10, ROTARY, CID, RID, C, CRAdf_1, ROTARY, CID, RID, C, CRAdf_fract, ROTARY, CID, RID, C, CSAdfSwap, SWITCH, CID, RID, A, AAdfRot, 01000, 18000, A, AAdf1, 01000, 18000, A, AAdf2, 01000, 18000, R, Adf, CRAdf_100, AAdfRot, 1, 1, 0, ADDVAL|DIGIT|WRAP,3,2 R, , CRAdf_10, AAdfRot, 1, 1, 0, ADDVAL|DIGIT|WRAP,2,1 R, , CRAdf_1, AAdfRot, 1, 1, 0, ADDVAL|DIGIT|WRAP,1,1 R, , CRAdf_fract, AAdfRot, 1, 1, 0, ADDVAL|DIGIT|WRAP,0,1 R, RAdf1, AAdfRot, AAdf1, 1, 1, 0, R, , AAdf1, CDAdf1, 1, 1, 0, R, , AAdf1, FAdf1, 1, 1, 0, R, , FAdf1, AAdf1, 1, 1, 0, R, RAdf2, AAdfRot, AAdf2, 1, 1, 0, DISABLE R, , AAdf2, CDAdf2, 1, 1, 0, R, , AAdf2, FAdf2, 1, 1, 0, R, , FAdf2, AAdf2, 1, 1, 0, ----------------------------------------------------------------------RUDDERTRIMrotarie encoder F,FRTrim, 0,0x2ec0, DBL,500,1,6,0,RW C,CRRTrim,ROTARY,1,60, A,ARTrim,-90,90, R, RTrim,CRRTrim, ARTrim,1,1,0,ADDVAL R,,ARTrim,FRTrim,1,1,0, R,,FRTrim,ARTrim,1,1,0, ----------------------------------------------------------------------AILERONTRIM(mom)-of-(mom) switchF, FAilTrim, 0, 0x2eb0, DBL, 100, 1, 6, 0, RW C, CSAilTrimL, SWITCH, 1, 62, POSEDGE C, CSAilTrimR, SWITCH, 1, 63, POSEDGE A, AAilTrim, -18, 18, R, ATrim, CSAilTrimL, AAilTrim, -1, 1, 0, ADDVAL R, , CSAilTrimR, AAilTrim, 1, 1, 0, ADDVAL R, , AAilTrim, FAilTrim, 1, 1, 0, R, , FAilTrim, AAilTrim, 1, 1, 0,----------------------------------------------------------------------THROTTLES2 potmeters,it is better to use joystick cards for controls. They go with priority to the sim. For a throttle is is not a big issue but for the primaryflight controls it is better not ti use fsbus.F, FThrottle1, 0, 0x089a, I16, 1, 1, 1, 0, W F, FThrottle2, 0, 0x0932, I16, 1, 1, 1, 0, W C, CPThrottle1, POTI, 1, 0, C, CPThrottle2, POTI, 1, 1, R, , CPThrottle1, FThrottle1, 65, 1, 0, R, , CPThrottle2, FThrottle2, 65, 1, 0, ----------------------------------------------------------------------EFIS 2 panel'FLIGHTSIMULATOR - EFIS2 '-----------------------------' NAME ID OFFSET TYPE MUL DIV INT PAR FLAGS '-----------------------------F, FEFIS2, 0, 0x04f4, I16, 1, 1, 6, 0, RW F, FAltSetPM, 0, 0x552e, I16, 1, 4, 6, 0, RW F, FDHPM, 0, 0x5532, I16, 1, 1, 6, 0, RW 'EFIS2 C, CSFPV, SWITCH, 2, 33, C, CSMTRS, SWITCH, 2, 32, C, CRAltSetPM, ROTARY, 2, 4, C, CRDHPM, ROTARY, 2, 0, C, CSAdfL, SWITCH, 2, 38, NEGEDGE C, CSVorL, SWITCH, 2, 39, NEGEDGE C, CSAdfR, SWITCH, 2, 17, NEGEDGE C, CSVorR, SWITCH, 2, 16, NEGEDGE C, CSApp, SWITCH, 2, 34, NEGEDGE C, CSVor, SWITCH, 2, 35, NEGEDGE C, CSMap, SWITCH, 2, 36, NEGEDGE C, CSPlan, SWITCH, 2, 37, NEGEDGE C, CSND10, SWITCH, 2, 48, NEGEDGE C, CSND20, SWITCH, 2, 49, NEGEDGE C, CSND40, SWITCH, 2, 50, NEGEDGE C, CSND80, SWITCH, 2, 51, NEGEDGE C, CSND160, SWITCH, 2, 52, NEGEDGE C, CSND320, SWITCH, 2, 53, NEGEDGE C, CSND640, SWITCH, 2, 54, NEGEDGE C, CSWxr, SWITCH, 2, 23, NEGEDGE C, CSSta, SWITCH, 2, 22, NEGEDGE C, CSWpt, SWITCH, 2, 21, NEGEDGE C, CSArpt, SWITCH, 2, 20, NEGEDGE C, CSData, SWITCH, 2, 19, NEGEDGE C, CSPos, SWITCH, 2, 18, NEGEDGE A, AAltSetPM, 100, 6000, NO1000WRAP A, ADHPM, 0, 100, 'EFIS2 R, , CSFPV, FEFIS2, 1, 1, 114, R, , CSMTRS, FEFIS2, 1, 1, 126, R, , CSAdfL, FEFIS2, 1, 1, 174, R, , CSVorL, FEFIS2, 1, 1, 175, R, , CSAdfR, FEFIS2, 1, 1, 177, R, , CSVorR, FEFIS2, 1, 1, 178, R, , CSApp, FEFIS2, 1, 1, 105, R, , CSVor, FEFIS2, 1, 1, 103, R, , CSMap, FEFIS2, 1, 1, 101, R, , CSPlan, FEFIS2, 1, 1, 104, R, , CSND10, FEFIS2, 1, 1, 141, R, , CSND20, FEFIS2, 1, 1, 142, R, , CSND40, FEFIS2, 1, 1, 143, R, , CSND80, FEFIS2, 1, 1, 144, R, , CSND160, FEFIS2, 1, 1, 145, R, , CSND320, FEFIS2, 1, 1, 146, R, , CSND640, FEFIS2, 1, 1, 147, R, , CSWxr, FEFIS2, 1, 1, 172, R, , CSSta, FEFIS2, 1, 1, 190, R, , CSWpt, FEFIS2, 1, 1, 193, R, , CSArpt, FEFIS2, 1, 1, 194, R, , CSData, FEFIS2, 1, 1, 195, R, , CSPos, FEFIS2, 1, 1, 196, R,Kollsman,CRAltSetPM, AAltSetPM, 1, 1, 0, ADDVAL R, , AAltSetPM, FAltSetPM, 1, 1, 0 R, , FAltSetPM, AAltSetPM, 1, 1, 0 R, DHPM, CRDHPM, ADHPM, 1, 1, 0, ADDVAL R, , ADHPM, FDHPM, 1, 1, 0 R, , FDHPM, ADHPM, 1, 1, 0
  3. That pdf is still beta (I think).I build that pcb and it works with me. I use the values as in the schematic. C4 is not in schematic but it is on the pcb , it is over line 2 and 3 on J4-J11.C1/2 are 22 pf, c3/4 10nfsee attachmentregardsNorberthttp://home.wanadoo.nl/norbert.bosch
  4. npbosch

    FSBus questions

    FSBUS CDK Base package ZIP File (14MB) Is the one you need. You wil need the developers kit. You are developing your own cockpit aren't you?Then read the docs and read them again.For the normal things you will only need to fill in lines in ini files (by txt editor or more easy with the deveoper kit)For more powerfull things you will need a bit of basic.Then click the run button in the package to test it.For examples of code seehttp://www.rvdijk.nl/download.htmscrol down to 737ng fsbus project and download the filesorhttp://www.flightdeckbuilder.nl/modules.ph...=viewforum&f=34thats is a part of the dutch cockpitbuilder forum devoted to fsbus code. You will have to register to enter. The examples are the code I made and use myself, split up into little parts for better understanding. In dutch but just for learning the code that will be no problem I think.
  5. npbosch

    FSBus questions

    did you trie:http://www.fsbus.de/3.htmlAFAIK it is not possible to start in minimized mode. With the latest build it is possible to let the basic code start automatically. In that way you can let the whole pc start up by itself without clicking here and there.I heard from Dirk that there will be a version in the future that only runs the code itself. The present software is for making and running and testing the code.regardsNorberthttp://home.wanadoo.nl/norbert.bosch/
  6. npbosch

    projector/monitor setup?

    Contrast ratio depends also from the darkness of your room.If you are sitting in a dark attick without windows with light coming in , you could use a projector with a lower contrast ratio. In a lighted livingroom , you will need more.I am sitting in a dark attick and do not even need the lamp at full power and put it in economy mode (longer lamp life and less noise).Norbert
  7. http://www.mikesflightdeck.com/http://www.fscockpit.com/both good sites for starters.Norbert
  8. npbosch

    FSBus NG Stepper?

    Have patience. It will come eventually.But can't you use the old one in the mean time? AFAIK the newer software versions (Routerversion2 and CDK) are downwardscompatible (although you will miss some newer functions).Norbert
  9. npbosch

    projector/monitor setup?

    Hi KimOne PC?: then use 2 videocards or one with 2 vga outputs. Then create a big desktop. Put the outside view to the projector and the panels to the 22 inch.2PC`s?: then you should something like freefd,project magenta and use that via a network.(eventualy you will go for the second route, believe me )
  10. from:http://www.atmel.com/dyn/resources/prod_do...nts/doc2543.pdfpage 1Speed Grades
  11. npbosch

    beamer visual display

    That depends on what you want. I would suggest a monitor for your panel and the projector for outside view (2 videocards needed, or one with 2 outputs). Later on you can expand with more panels etc.That setup gives a nice feeling of the panel inside and near you and the outside world in front opf you. Mirrors are only needed to get a longer throw of the lightbeam, only neccesary when you are in a tight room.Just do a search on projector on the building fora and you will see lots of examples of setups.RegardsNorberthttp://home.wanadoo.nl/norbet.bosch
  12. I use a 1 Gig for my PM boeing glass cockpit and it is far more than fast enough. I was already satisfied when it ran on my old 200 Mhz Ppro.regardsNorbert
  13. Manual, could you post more etailed pics about the visual setup?Would be great, or perhaps post them on your website.thanksNorbert
  14. Very well done Manuel. Do yu have detailed information about your visual setup?Norbert
  15. Hi Eric,Best is to put all the F variables in one ini.file.Use the one from www.rvdijk.nl. That one is already very extensive and saves a lott of work with regards from the offset.One can shares each other F-object.ini files , bacause the things in it have to do with only the offsets.Then put the C/A/R objects in another ini. This will be different for every builder.For simplicity split things up:I have a pedestal.ini and a overhead.ini (or even more if you like).In the dab file it is important that the ini with th F objects is loaded first. (I noticed all kind of error mesagges when the f.ini file loaded last)regardsNorbert