Results 1 to 4 of 4
  1. #1
    10+ Posting Member
    Join Date
    Apr 2010
    Location
    Italy
    Posts
    10
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    Question var 92 and 93

    Hi Nico.....

    Looking at the lekseecon manual I saw the variable 92 and 93 (oxy and RAT) that are "T" type (I think to use push button) but I'd like to use for them two ON/OFF switches instead a pushbutton but I saw also that normally the variable for the ON/OFF switch like for example the emergency lights are a "OL" type

    so my question is:

    for the oxy and RAT variable must I use a push-button or can I use switches with these instructions?
    "Var 92 Link IOCARD_SW input (number) Type I
    Var 93 Link IOCARD_SW input (number)Type I
    "
    thanks a lot

    Giacomo

  2. #2
    2000+ Poster - Never Leaves the Sim kiek's Avatar
    Join Date
    Jan 2007
    Location
    Netherlands
    Posts
    2,202
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    Re: Question var 92 and 93

    Hello Giacomo,

    Normally lekseecon T type control variables fit best when using push buttons, and O(L) type variables fit best when using ON/OFF (latched) type switches.

    If you want to use ON/OFF type switches for Vars 92 and 93, then you should (and indeed can) code that in SIOC like this:
    Code:
    Var 92 Static Link IOCARD_SW Input (number) Type I
    Var 93 Static Link IOCARD_SW Input (number) Type I
    (don't forget the keyword Static)

    Each time you change the position of your switch (either from ON to OFF, or from OFF to ON) the value of the Variable will change (either from 1 to 0 or from 0 to 1) and the Push on Passenger Oxygen Masks Switch and RAT push commands will be sent to the Level-D (by lekseecon).

    However, note that the RAT push switch in the Level-D panel can be pushed only once, a subsequent push will have no effect... The RAT has been employed and it has to be set back in place by ground crew (if the aircraft has landed safely...)

    regards,
    Nico

  3. #3
    10+ Posting Member
    Join Date
    Apr 2010
    Location
    Italy
    Posts
    10
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    Re: Question var 92 and 93

    Thanks for your answer
    just one more question:
    you said about the "static" key
    but I thought I must use it only if I use many files together.
    I'm using just a single file for all the commands....must I use the word "static" anyway?

    thanks a lot

    ciao

    Giacomo

  4. #4
    2000+ Poster - Never Leaves the Sim kiek's Avatar
    Join Date
    Jan 2007
    Location
    Netherlands
    Posts
    2,202
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    Re: Question var 92 and 93

    Quote Originally Posted by giacomo View Post
    I'm using just a single file for all the commands....must I use the word "static" anyway?
    Yes, you have to (since version 5.0). Only variable numbers below 1000 with keyword Static attached will be recognised as being lekseecon variables. It does not matter whether you are using the single file approach or multiple files approach.