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
Help AVSIM continue to serve you!
Please donate today!

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