Results 1 to 5 of 5
  1. #1
    10+ Posting Member
    Join Date
    Feb 2012
    Location
    France
    Posts
    24
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    VS Script for MCP Lekseecon 9.3

    Hello,

    In the script, the VAR 298 is utilised. In the documentation, the recommendation is VAR 36 in DCB3.

    Thanks for the answer.
    Marc.

  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: VS Script for MCP Lekseecon 9.3

    Quote Originally Posted by marcus67 View Post
    In the script,
    the script... what script are you referring to? Could you please be more precise.

    The VS script in 3.3_MCP_Generic.txt (folder MCP767) uses 36...

    But both vars are OK. The difference is the built-in support for var 36.

    Nico

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

    Re: VS Script for MCP

    Hello Nico

    3.3_MCP_Generic.txt B767 Lekseecon V9.3:
    ----------------------------
    // VS
    Var 298 Static
    {
    L0 = v298 // read/write VS from/to level-D panel
    L1 = DIV L0 100 // block a new value coming from the rotary
    IF &VS <> L1
    {
    &VS = L1 // new value coming from panel
    }
    }
    Var 9301 name RO_VS Link IOCARD_ENCODER Device 2 Input 11 Aceleration 2 Type 2
    {
    IF &VSActive = 1 // Respond only when in VS mode ...
    {
    L0 = &RO_VS * -1 // turning right should be plus
    &VS = LIMIT -99 99 L0
    L1 = &VS * 100
    v298 = L1 // to panel
    ----------------------------

    The VS script works without problem. Simply question.

    Marc.

  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: VS Script for MCP

    Hi Marc,
    That's an old script that you are using...

    Since lekseecon 9.3 var 36 is used, the header of the file is:
    ///////////////////////////////////////////////////////////////////////////
    //
    // Title: MCP 767 IAS/MACH, HDG, ALT, VS, Leds, Switches and Buttons
    // Manual: 3
    // Lekseecon
    // version: 9.3
    //
    // Date: 19 January 2013
    //

    I recommend to update to lekseecon 9.7.

    rgrds,
    Nico

  5. #5
    10+ Posting Member
    Join Date
    Feb 2012
    Location
    France
    Posts
    24
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    Re: VS Script for MCP

    Hi Nico,

    I finish all the scripts (MCP and MIP) and then I update the version 9.7
    Thanks for the answer.

    Regards,
    Marc.