Jump to content
Sign in to follow this  
fewtrils

setting up CAB UTIL and IFE/PASS SEAT toggle for PMDG 737NGX

Recommended Posts

I am trying to seet up the CAB UTIL toggle and the IFE/PASS SEAT toggle in LINDA.  according to PMDG, the offset is 69637 and 69638 respectively.  The problem is that neither of htese numbers exists in LINDA.  I know I will probably have to use the LINDA editor to do this but have extremely limited experience using this.

 

Anyone having any experience with this, I would really appreciate hearing from you

Share this post


Link to post
Share on other sites

Try this (with one button you control both but it can easily splited into two)

 

----------------------------------------------------------------
----------------------------------------------------------------
PMDGBaseVar =  0x00011000  -- 69632
PMDG_ClkL =  0x20000000  -- 536870912
PMDG_ClkR =  0x80000000  -- -2147483648
----------------------------------------------------------------
----------------------------------------------------------------


-- ## Cabin / Utility & IFE Pass Seat Power ##############
 
function Cabin_and_IFE_Power_ON ()
    ipc.control(PMDGBaseVar+5, PMDG_ClkL)
    ipc.control(PMDGBaseVar+6, PMDG_ClkL)
    ipc.sleep(20)
end
 
function Cabin_and_IFE_Power_OFF ()
    ipc.control(PMDGBaseVar+5, PMDG_ClkR)
    ipc.control(PMDGBaseVar+6, PMDG_ClkR)
    ipc.sleep(20)
end

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Tom Allensworth,
    Founder of AVSIM Online


  • Flight Simulation's Premier Resource!

    AVSIM is a free service to the flight simulation community. AVSIM is staffed completely by volunteers and all funds donated to AVSIM go directly back to supporting the community. Your donation here helps to pay our bandwidth costs, emergency funding, and other general costs that crop up from time to time. Thank you for your support!

    Click here for more information and to see all donations year to date.
×
×
  • Create New...