XML ADF Input

FSSC, Airport 2.*, CfgEdit, etc. Get to grips with designing Scenery & Panels here!

XML ADF Input

Postby oobber » Thu Aug 07, 2008 4:32 pm

Gents,

im a relative noob to XML gauge design. I have a gauge which is causing some annoyance. It came shipped with a payware aircraft andhas a key entry radio stack, i.e. you can punch in a freq on a keypad and then apply it to the selected radio.
The ADF input only accepts whole numbers i.e. 313, im looking to make it accept decimal numbers (313.5). As i fly mainly in the UK its annoying not being able to use the decimal freqs.

Any ideas or suggestions would be great.

:)
oobber
Ground hog
Ground hog
 
Posts: 1
Joined: Thu Aug 07, 2008 5:27 pm

Re: XML ADF Input

Postby DNLK » Sun Aug 17, 2008 6:44 pm

I would have to see the code to know for sure...but I would guess the keypad is sending an incorrect type of variable to the the ADF, ie, not a float.  I am assuming the same keypad is allowing you to enter decimal freq's into the COM and NAV, correct?  If that is the case, it shouldn't be too difficult to change the ADF to work the same.
DNLK
Ground hog
Ground hog
 
Posts: 2
Joined: Wed Jul 30, 2008 10:21 pm


Return to Scenery & Panel Design

Who is online

Users browsing this forum: No registered users and 527 guests