Cockpitbuilders.com

FSUIPC (Peter Dawson) Unnoficial => FSUIPC V4.X (FSX) => Topic started by: guran on May 06, 2015, 08:07:56 AM

Title: i cannot reach pmdg ngx offsets
Post by: guran on May 06, 2015, 08:07:56 AM
Hi,
i will be very appreciated, if anybody answer me.

i cannot write to pmdg ngx offsets via fsuipc buttons(offset dword set) or lua script.
but linda can write it, i tried. and offcourse :

[SDK]
EnableDataBroadcast=1

example lua like below:

--ipc.display("Result",)
--ipc.sleep(10000)

ipc.display("pmdg test",2)
ipc.sleep(1000)
while 1 do

--ipc.sleep(5)
ipc.writeUW(0x6535, 1)--at sw
ipc.sleep(5)
ipc.writeUW(0x6533, 1)--fd sw
ipc.sleep(5)
ipc.display(VSI)
ipc.sleep(3300)
ipc.writeUW(0x6535, 0)--
ipc.sleep(5)
ipc.writeUW(0x6533, 0)--
ipc.sleep(3300)

end

thanks from now..