March 27, 20224 yr I have a problem programming my ILS/NAV radio in Sioc. Why is this code not working correct. It I turn the rotary, the course will increment for a second on my homecockpit and also in P3D, but then immidiatly turns back to the original course where P3D started with: Var 1 name InOutIlsCrs Link FSUIPC_INOUT Offset $0C5E Length 2 // ILS CRS in FSUIPC { &IlsCrs = &InOutIlsCrs // new value from FSUIPC } Var 2 name IlsCrs // internal ILS CRS { &D_IlsCrs = &IlsCrs // write to my 3-digit display } Var 3 Link IOCARD_ENCODER Input 156 Aceleration 4 Type 2 { L0 = v3 * -1 &IlsCrs = ROTATE 0 359 L0 // update ILS CRS &InOutIlsCrs = &IlsCrs // write to FSUIPC } Var 4 name D_IlsCrs Link IOCARD_DISPLAY Digit 133 Numbers 3 // Display Thanks in advance, Kees
March 30, 20224 yr Author I found it myself. It look the Lvar for the course of the nav-radio's is not writable in the Captain Sim 767. Strange, because the Lvars for the frequency of the CS767 are writable. Kees
Archived
This topic is now archived and is closed to further replies.