Jump to content

Sign in to follow this  
taguilo

Getting Localizer Course whit XML

Recommended Posts

Hi All:I am trying to make a gauge that gives my the Course of an ILS (or LLZ).I've tryed whit the NAV 1 LOCALIZER parameter which in the Parameters.doc on Panels SDK is descripted as "Localizer course heading"The idea is that when you select an ILS and it becomes alive, this gauge gives my the Course of the Localizer, for example on PHNL, for RW26L, I want the course of IEPC which is 314, so I could then star to make a gauge that auto set the OBS to the ILS Course.Here is my test code for the moment, I only get a 1 as a response, and I don't Know what could be wrong.%(A:NAV 1 LOCALIZER, degrees)%!s!Yes, it was done ona clock background just by now.Thanks a lot for your help.Helio Regalado

Share this post


Link to post
Share on other sites

The value returned is a number, not a "string."!s! is incorrect...use...!3.0f! or !3d! instead...

Share this post


Link to post
Share on other sites

I've chanced the code to !3d! as you told my, and even to !3.0f! but yet I can't get mothing more than a 0.So what could be wrong then?, is the tipe o unit used on the parameter?How could I know what data is behaind any parameter?Here is my code now:%(A:NAV1 LOCALIZER, degrees)%!3d!Thanks a lot for the ideas

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...