Hello,
I am starting with SIOC (4.01) and FSUIPC (3.9 Feb10th) on FS2004 (FS9.1, King Air 350) with basic steps to define my cockpit building plan. I am stuck with the following.
I created 3 basic FSUIPC INOUT variables in SIOC, to interact GEAR, AP Heading and AP Altitude.
I use IOCP Console to monitor the variables
- The IN way has always worked fine (when playing the game I can see the values are changing on IOCP Console)
- The OUT way (when I send value via IOCP Console -> get the actual game changing) worked only for AP Heading at the beginning. Then later on (I don't know what has changed) Gear command worked. At the moment if I send values on IOCP Console for AP heading and gear, I can see on the King Air 350 cockpit the Heading moving and the gear toggle moving.
But for some reason, I can't get the AP ALT value changing on the cockpit if I send ALT values on the AP_ALT variable on IOCP Console. I checked with FSInterrogate (2.02) that FSUIPC get the AP ALT value change when I send the new value on IOCP Console, but it does not show on the cockpit.
This is why I am posting this as I believe problem is between FSUIPC and FS2004 but below is the SIOC.ssi code if this can help.
I am lost. Could anyone help me ? Would much appreciate. Thank you !
SIOC.ssi code
Var 0000, name AP_HDG, Link FSUIPC_INOUT, Offset $07CC, Length 2
Var 0001, name GEAR, Link FSUIPC_INOUT, Offset $0BE8, Length 4 // 16383 = Down
Var 0002, name AP_ALT, Link FSUIPC_INOUT, Offset $07D4, Length 2