Results 1 to 4 of 4

Thread: calling on kiek

  1. #1
    75+ Posting Member



    Join Date
    Mar 2009
    Location
    boston ma
    Posts
    109
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    calling on kiek

    nico need some help...ok totatly fed up with trying to get pmdg decided to switch permenantly to lvld... im using the dta rotary encoder boards for all rotaries for the mcp when i turn them i see no change on the displays (displays are going thru oc hardware) I took this section of your mcp alt code for you to help me with. what is it that i need to change in order to get the displays to change from either the rotaries or if i change the setting using the mouse? Thanks nico....i know i know i should have made the change sooner

    Var 299 Static // read/write ALT from/to level-D panel
    {
    IF &ALT <> v299 // block a new value coming from the rotary
    {
    &ALT = v299 // new value coming from panel
    }
    }

    Var 1 name RO_ALT Link IOCARD_ENCODER Device 2 Input 2 Aceleration 2 Type 2
    {
    L0 = &RO_ALT * -1 // turning right should be plus
    &ALT = LIMIT 0 640 L0
    v299 = &ALT // to panel
    }

    Var 2 name ALT
    {
    Call &OutALT
    }

    Var 3 name OutALT Link SUBRUTINE
    {
    IF &ColdAndDark = 1
    {
    &D_ALT = -999999
    &D_ALTL0 = -999999
    &D_ALTL00 = -999999
    }
    ELSE
    {
    IF &TestMIP = 1
    {
    &D_ALT = 888
    &D_ALTL0 = 8
    &D_ALTL00 = 8
    }
    ELSE
    {
    L0 = &ALT * 100
    IF L0 >= 10000
    {
    &D_ALTL0 = DIV L0 10000
    L1 = MOD L0 10000
    &D_ALTL00 = DIV L1 1000
    &D_ALT = MOD L0 1000
    }
    ELSE
    {
    &D_ALTL0 = -999999
    IF L0 >= 1000
    {
    &D_ALTL00 = DIV L0 1000
    &D_ALT = MOD L0 1000
    }
    ELSE
    {
    &D_ALTL00 = -999999
    &D_ALT = L0
    }
    }
    }
    }
    }

    Var 4 name D_ALT Link IOCARD_DISPLAY Device 2 Digit 9 Numbers 3
    Var 5 name D_ALTL00 Link IOCARD_DISPLAY Device 2 Digit 12 Numbers 1
    Var 6 name D_ALTL0 Link IOCARD_DISPLAY Device 2 Digit 13 Numbers 1

  2. #2
    75+ Posting Member



    Join Date
    Mar 2009
    Location
    boston ma
    Posts
    109
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    Re: calling on kiek

    I may have found something...will this work if i write it this way in sioc

    Var 299 name Alt
    {
    v1001 = &Alt
    }

    Var 1001 Link IOCARD_DISPLAY Digit 0 Numbers 5

  3. #3
    75+ Posting Member



    Join Date
    Mar 2009
    Location
    boston ma
    Posts
    109
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    Re: calling on kiek

    anyone else know if this will work?

  4. #4
    75+ Posting Member ran56's Avatar
    Join Date
    May 2008
    Location
    Israel
    Posts
    88
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    Re: calling on kiek

    http://www.lekseecon.nl/phpbbv2/

    Best way to get help and support from Nico

    Good luck
    Ran Finkels
    Former B763 Builder - FS9 Simvionics. LDS, FDS OC etc.

Similar Threads

  1. Calling good Pilots
    By Steve A in forum General Discussion
    Replies: 5
    Last Post: 01-25-2010, 07:44 AM
  2. Calling all GA Pilots
    By BlackWidow in forum MyCockpit Online Flying Discussion
    Replies: 8
    Last Post: 11-04-2009, 11:36 AM
  3. PMSounds calling out minima ...
    By eudoniga in forum PM General Q & A
    Replies: 4
    Last Post: 04-02-2008, 09:24 AM
  4. Calling out for some HELP!
    By 737NUT in forum General Builder Questions All Aircraft Types
    Replies: 13
    Last Post: 11-07-2007, 08:19 PM
  5. Vienna is calling ...
    By flightdeck in forum Welcome to MyCockpit New here? Introduce Yourself!
    Replies: 3
    Last Post: 06-13-2007, 01:40 PM