• 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.

ADF Frequency

Messages
36
Country
yugoslavia
Hello!
I'm trying to set ADF frequency using three local variables on click event. For example:
<Click Kind="LeftSingle">

4 (>L:ADF1,enum)
0 (>L:ADF2,enum)
5 (>L:ADF3,enum)

(L:ADF1,enum) (L:ADF2,enum) (L:ADF3,enum) (>L:ADF_Freq, khz)
(L:ADF_Freq, Frequency ADF BCD32) (>K:ADF_COMPLETE_SET)
</Click>

I want to use L:ADF1,enum,L:ADF2,enum,L:ADF3,enum as arguments to set ADF Frequency using (>K:ADF_COMPLETE_SET)
I know that underline part of code is problem, any idea how to solve it?
 
Last edited:
Hello!
I'm trying to set ADF frequency using three local variables on click event. For example:
<Click Kind="LeftSingle">

4 (>L:ADF1,enum)
0 (>L:ADF2,enum)
5 (>L:ADF2,enum)

(L:ADF1,enum) (L:ADF2,enum) (L:ADF3,enum) (>L:ADF_Freq, khz)
(L:ADF_Freq, Frequency ADF BCD32) (>K:ADF_COMPLETE_SET)
</Click>

I want to use L:ADF2,enum,L:ADF2,enum,L:ADF2,enum as arguments to set ADF Frequency using (>K:ADF_COMPLETE_SET)
I know that underline part of code is problem, any idea how to solve it?
There is a wiki in this site on setting ADF frequency. Did you have a chance to see it yet?
Bob
 
Yes I saw that. There is a code:

379 (>L:ADF_Freq, khz)
(L:ADF_Freq, Frequency ADF BCD32) (>K:ADF_COMPLETE_SET)

And that's ok, it works!

I want: insted of number 3 to be my var L:ADF1,enum; 7 to be L:ADF2,enum; 9 to be L:ADF3,enum... no luck with that...
 
Try this...
Code:
(L:ADF1,enum) 100 * (L:ADF2,enum) 10 * + (L:ADF3,enum) + (>L:ADF_Freq, khz)
(L:ADF_Freq, Frequency ADF BCD32) (>K:ADF_COMPLETE_SET)
... or this (without "L:ADF_Freq")
Code:
(L:ADF1,enum) 256 * (L:ADF2,enum) 16 * + (L:ADF3,enum) + 65536 * (>K:ADF_COMPLETE_SET)
 
Back
Top