Jump to content
The simFlight Network Forums

crazylynx

Members
  • Posts

    5
  • Joined

  • Last visited

Posts posted by crazylynx

  1. Where can i find this plugin?

     

    Ok works !
    i have in console such a readout 
    READ0[7332]  66C0,   8 bytes: 02 02 01 00 00 00 00 00
    i dont know why it returns 02 instead of 01 but works so not a problem.

    code i used
     

    function QW_ap_master_l (offs, val)
    ipc.writeUB(0x66C0, val)
    
    end
    
    function at_mode (offs, val)
    ipc.writeUB(0x66C1, val)
    
    end
    
    function QW_MCP_L_MFD_L_GREEN (offs, val)
    ipc.writeUB(0x66C2, val)
    
    end
    
    
    event.Lvar("L:QW_ap_master_l",100, "QW_ap_master_l")
    event.Lvar("L:at_mode",100, "at_mode")
    event.Lvar("L:QW_MCP_L_MFD_L_GREEN",100, "QW_MCP_L_MFD_L_GREEN")

    Led works correct everything fine so the time to build MCP 🙂 Thanks again for help

  2. Thank You Pete for Your support !

    function QW_ap_master_l (offs, val)
    ipc.writeUB(0x66C0, val)
    
    end
    function at_mode (offs, val)
    ipc.writeUB(0x66C1, val)
    
    end
    function QW_MCP_L_MFD_L_GREEN (offs, val)
    ipc.writeUB(0x66C2, val)
    
    end
    
    event.Lvar("L:QW_ap_master_l",100, "QW_ap_master_l")
    event.Lvar("L:at_mode",100, "at_mode")
    event.Lvar("L:QW_MCP_L_MFD_L_GREEN",100, "QW_MCP_L_MFD_L_GREEN")

    i choosed 3 outputs copied form QW sim builders manual is this correct ?

  3. Hello Searching from long time for solutions. 
    QW787 inputs are drived by linda but searchin way to light up indicator LED for example AP Master switch led witch lvar is QW_ap_master_l it can have value 0 off or 1 on
    Trying to make read of lvar state and storage it in 66C0 offset but without any success. Maybe someone have solution for that and can help with few lines of code.
    I made some script

    function QW_AP_MASTER_I (66C0, 0)
    ap_master_l = ipc.readLvar("L:QW_ap_master_l")
    ipc.writeUB(0x66C0, ap_master_l)
    return
    end
    
    
    
    event.Lvar("L:QW_ap_master_l",0, "AP_MASTER_I")

    But im not a programmer and it doenst work

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use. Guidelines Privacy Policy We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.