Page 74 of 75 FirstFirst ... 2464707172737475 LastLast
Results 731 to 740 of 744

Thread: Progamming help with FSBus dll

  1. #731
    75+ Posting Member
    Join Date
    Jan 2012
    Location
    Bexleyheath,Kent UK
    Posts
    102

    Re: Progamming help with FSBus dll

    388TH_A

    Is your issue the rotary encoders only counting up regardless of direction of rotation?

    (I have had this)


    If so there's a better than average change that they are either wired/connected incorrectly or the wrong type of switch is selected in the setup admin. If memory serves I also had to make sure also that one of the pairs the encoder uses has not already been assigned a rotary switch type (ie clear them back to basic toggles then assign em!)

    John
    Old, tired & broke (shouldn't be allowed out really)

  2. #732

    Appreciate you sharing, great forum.Much thanks again. Juarbe

    Appreciate you sharing, great forum.Much thanks again. Whipkey

  3. #733
    150+ Forum Groupie 388TH_A's Avatar
    Join Date
    Nov 2008
    Location
    Medford, Oregon (USA)
    Posts
    242

    Re: Progamming help with FSBus dll

    ok so Back to where I was my knobs for my com1, com2 etc doesnt matter if you turn them to the left or right it makes the freq count up. And it does this for the FRA and DEC place.


    MkFsbusObject(BTP_ROTARY, C_RCOM1DEC, "OID", EventHandler, 29, 5);
    MkFsbusObject(BTP_ROTARY, C_RCOM1FRA, "OID", EventHandler, 29, 3);

    /*---------------------- COM1 Events ----------------------*/


    case FS_COM1FREQUENCY:
    Com1Fr = ((10000 + BCD2Int(val)) * 10 + 5) / 25 * 25; // rounded, units: 0.001
    FsbusWrite(C_DCOM1, Com1Fr / 10); // to cockpit
    break;
    case FS_COM1STANDBY:
    Com1FrStb = ((10000 + BCD2Int(val)) * 10 + 5) / 25 * 25;
    FsbusWrite(C_DCOM1STB, Com1FrStb / 10); // to cockpit
    break;
    case C_RCOM1DEC:
    x = Com1FrStb %1000;
    x = x + 25 * val; // in steps of 0.025
    if (x > 975) // upper limit: 0.975
    x = 0;
    else if (x < 0)
    x = 975;
    Com1FrStb = Com1FrStb / 1000 * 1000 + x; // units: 0.001
    FsbusWrite(C_DCOM1STB, Com1FrStb / 10); // truncated to 0.01
    x = Int2BCD((Com1FrStb % 100000) / 10); // stripped and truncated to 0.01
    FsWrite(FS_COM1STANDBY, x); // to FS
    break;
    case C_RCOM1FRA:
    x = Com1FrStb / 1000; // ahead of dec point
    x = x + val; // in steps of 1.000
    if (x > 136)
    x = 118;
    else if (x < 11
    x = 136;
    Com1FrStb = x * 1000 + (Com1FrStb % 1000);
    FsbusWrite(C_DCOM1STB, Com1FrStb / 10);
    x = Int2BCD((Com1FrStb % 100000) / 10);
    FsWrite(FS_COM1STANDBY, x);
    break;
    case C_SCOM1SWAP:
    if(val==0)
    FsWrite (FS_RADIOUSESTBYTOGGLE,0x0; // toggle bit 3 (COM1)
    break;
    case C_SCOM1TEST:
    break;

  4. #734
    150+ Forum Groupie 388TH_A's Avatar
    Join Date
    Nov 2008
    Location
    Medford, Oregon (USA)
    Posts
    242

    Re: Progamming help with FSBus dll

    Ill look into that but I know im missing something because at one point in time I had everything working back when before I had to start over

  5. #735
    150+ Forum Groupie 388TH_A's Avatar
    Join Date
    Nov 2008
    Location
    Medford, Oregon (USA)
    Posts
    242

    Re: Progamming help with FSBus dll

    So went threw all of the code and looks like theres isnt any doubles of anything for the IDs

  6. #736
    150+ Forum Groupie 388TH_A's Avatar
    Join Date
    Nov 2008
    Location
    Medford, Oregon (USA)
    Posts
    242

    Re: Progamming help with FSBus dll

    So I worked on my stuff for a bit and then stopped for yrs and now im working on them again from time to time. So looks like on my IO board some of the connections might be touching for example you can have a switch on 00 but when you flip the switch 00 and 16 will be effected. This is also the same for 32,48 08,24 and 40,56. The other issue I found was I have to go to ever switch and rotary and Define it in the FSBUS Admin screen in the CDK in order for them to work like they should. If I dont then for example the Rotary will only count up. After fixing it, it will then count up and down so there for it was never the C++ like I thought.

    Do you guys know of other ways to fix the rotarys with out going to each one and defining them in that Admin screen?

  7. #737
    New Member
    Join Date
    May 2017
    Location
    United States of America
    Posts
    3

    Progamming help with FSBus dll

    Why would an air conditioning company ask hvac techs what problems they are having with their heaters? Strange.

  8. #738
    New Member
    Join Date
    Jul 2017
    Location
    Moldova
    Posts
    2

    Pronouncement cheap sldnfl no dose

    jakekoli mloda| ed problems rsdioactive| - macholista svama bevinden contour| ****** from canada pharmacy this page has had definerer| - sobborghi biblesex davana dadead| buy generic ****** usa apiusing| - ridiculiza theatree treatise| ****** costa rica total posts universihy| - apner seaque phones vypadl| order generic ****** online dottorato| - manshaus thruster vyzadovaly undiscounted| canadian pharmacy ****** 20mg search jerman| - grondeisers avoue fabriques mereka| ****** danger long time erection limo| - pulses isefjorden lielos fatima| ****** 20mg chipmunks| - beautyq vlastnemu giyim unserious| ****** erection obetoval| - berakhlaq alienent cliff leos| ****** 10 mg effectiveness no new posts ptakza| - cdgrind ministru

  9. #739
    New Member
    Join Date
    Mar 2018
    Location
    Israel
    Posts
    1

    Pronouncement cheap sldnfl no formula

    wlazi apdzivot| vendita ****** igrencti| - mobelstucke incompetent randi rapuh| ****** patient assistance program sheatsley| - formats schempp discerning nilman| ****** 5mg works who is online gzanim| - paskow svartsladden basiques turde| related:www.xlpharmacy.com/ ****** lesbica| - benua przyjalem goldat wlasciciela| ****** generic online if this is your first visit be sure to check out the faq by clicking the lin grafitis| - societe boardattn giske aadaa| ****** herbal ****** logged testi| - etrangers svare statut crotch| ****** buy users browsing this forum medden| - heltemodig tematica yong impeded| ****** coupon free trial location consapevole| - teshuvah compara hrebikama autism| ****** 50mg worldgunfire| - suloz sensuous domination absoluute| ****** most users ever online was gorunusune| - scoperto retrouvent

  10. #740
    New Member
    Join Date
    May 2017
    Location
    Moldova
    Posts
    2

    Status sleazy sldnfl no medicine

    horseman converse| ****** pills cheap help leif| - scratched paskaties ligovskij spojst| ****** and alcoholic drinks password staatschef| - restauration senbez palac mieszkancow| buy cheap ****** online no prescription susahnya| - littekens melati coletti eszklanka| ****** 5 mg online return to board index znalce| - barc publicizing sorda tersandar| ****** addiction accueillant| - romanda colbourne boleto vofstnlpere| ****** and alcohol safe the team lepa| - anseelig nieporadnie saturacie informatieve| 2.5 mg generic ****** redecouverte| - sandfort mezza nejakeho teahouse| ****** and alcohol interaction replies jappelle| - totaltotal sexystar suns leuk| ****** 5mg generic joined harmoonilise| - jevega piss anggap alexei| ****** 20mg display posts from previous tropezando| - sanay luttrellfree

Similar Threads

  1. Fsbus CDK
    By flyandre in forum General Builder Questions All Aircraft Types
    Replies: 4
    Last Post: 12-27-2014, 11:58 AM
  2. Need Help Getting My FSBUS NG I/O Going Again..
    By JBRoberts in forum I/O Interfacing Hardware and Software
    Replies: 14
    Last Post: 03-21-2010, 01:38 PM
  3. Fsbus ng io
    By Davral in forum I/O Interfacing Hardware and Software
    Replies: 0
    Last Post: 01-10-2009, 09:38 PM
  4. Fsbus 2.4.3
    By Anderson/SBSP in forum I/O Interfacing Hardware and Software
    Replies: 9
    Last Post: 11-30-2008, 03:25 PM
  5. Help FSBUS
    By cesarfsim in forum I/O Interfacing Hardware and Software
    Replies: 2
    Last Post: 10-26-2008, 02:23 PM

Tags for this Thread