Posted 01 August 2012 - 02:40 PM
Ok, I understand the principle but having some troubles figuring out how to write this in sioc. Here's what I've got now:
---------------------------------------------------------------------------------------------
Var 0001, name gs_alive, Link FSUIPC_INOUT, Offset $0C4C, Length 1
{
IF &gs_alive = 1
{
&gs_alive_ind = 1
}
IF &gs_alive = 0
{
&gs_alive_ind = 0
}
}
Var 0002, name gs_alive_ind, Link IOCARD_OUT, Device 1, Output 39
Var 0003, name loc_tuned, Link FSUIPC_INOUT, Offset $0C4A, Length 1
{
IF &loc_tuned = 1
{
&loc_tuned_ind = 1
}
IF &loc_tuned = 0
{
&loc_tuned_ind = 0
}
}
Var 0004, name loc_tuned_ind, Link IOCARD_OUT, Device 1, Output 41
----------------------------------------------------------------------------------------------
Obviously the Loc tuned in feature works, but how can I add the needle position?
And the same for the Glideslope? I did a test here for the GS, to see if anything happened when it came alive. Unfortunately nothing happened.
- Lasse