crazylynx
-
Posts
5 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Gallery
Downloads
Posts posted by crazylynx
-
-
Yes i changes this copied old script i testes 100 and 250 as Pete pointed
-
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 ?
-
Thank You very much for answer !
Ok i think its doesnt work log console shows READ0[14144] 66C0, 2 bytes: 00 00 and soent show any change of state does it work in loop?
I thin QW 787 doesnt send state change to fsuipc offset
Kind regards
-
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 scriptfunction 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
QW787 output
in FSUIPC Support Pete Dowson Modules
Posted
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