Search the archive:
YaBB - Yet another Bulletin Board
 
   
 
Page Index Toggle Pages: 1
Send Topic Print
XML ADF Input (Read 299 times)
Aug 7th, 2008 at 5:32pm

oobber   Offline
2nd Lieutenant
Hello!

Posts: 1
**
 
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.

Smiley
 
IP Logged
 
Reply #1 - Aug 17th, 2008 at 7:44pm

DNLK   Offline
1st Lieutenant
Hello!

Posts: 2
****
 
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.
 
IP Logged
 
Page Index Toggle Pages: 1
Send Topic Print