Jump to content
Sign in to follow this  
Kees69

Course in NAv/ILS radio Sioc

Recommended Posts

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

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Tom Allensworth,
    Founder of AVSIM Online


  • Flight Simulation's Premier Resource!

    AVSIM is a free service to the flight simulation community. AVSIM is staffed completely by volunteers and all funds donated to AVSIM go directly back to supporting the community. Your donation here helps to pay our bandwidth costs, emergency funding, and other general costs that crop up from time to time. Thank you for your support!

    Click here for more information and to see all donations year to date.
×
×
  • Create New...