• Which the release of FS2020 we see an explosition of activity on the forun and of course we are very happy to see this. But having all questions about FS2020 in one forum becomes a bit messy. So therefore we would like to ask you all to use the following guidelines when posting your questions:

    • Tag FS2020 specific questions with the MSFS2020 tag.
    • Questions about making 3D assets can be posted in the 3D asset design forum. Either post them in the subforum of the modelling tool you use or in the general forum if they are general.
    • Questions about aircraft design can be posted in the Aircraft design forum
    • Questions about airport design can be posted in the FS2020 airport design forum. Once airport development tools have been updated for FS2020 you can post tool speciifc questions in the subforums of those tools as well of course.
    • Questions about terrain design can be posted in the FS2020 terrain design forum.
    • Questions about SimConnect can be posted in the SimConnect forum.

    Any other question that is not specific to an aspect of development or tool can be posted in the General chat forum.

    By following these guidelines we make sure that the forums remain easy to read for everybody and also that the right people can find your post to answer it.

FS2004 "Needle valid" flags on NAV2?

Messages
206
Country
unitedkingdom
Hi,

I am trying to check that a NAV needle is valid for CDI and GSI on NAV2. I have it fine on NAV1 using the HSI CDI NEEDLE VALID and the GSI equivalent. Also, the aircraft flies the NAV2 fine and the CDI and GSI values are read. I thought that setting the AP NAV SOURCE to 2 would make the HSI values read NAV2 but I guess that would be too easy!
So, my question is what are the variables to use here? there seem to be several in the SDK but I'm not sure which ones to use as equivalent to the HSI XXX NEEDLE VALID bool variables but for NAV2...

Thanks,
Geoff
 
NAV HAS NAV:index (where index is 1 or 2)
NAV HAS GLIDE SLOPE:index (where index is 1 or 2)
 
NAV HAS NAV:index (where index is 1 or 2)
NAV HAS GLIDE SLOPE:index (where index is 1 or 2)

Thanks, those work a treat. I had always thought those were flags to say if a station /had/ that rather than if it was already valid. ie this would tell me that station XXX has a glideslope regardless of whether the glideslope signal was yet received. Well, now I know and my NAV2 routines are working properly. :o

Cheers,
Geoff
 
Back
Top