RobertoR
03-09-2005, 01:40 PM
I set up a textLCD module and two encoders to obtain the functions of NAV1 and DME1 distance.
For DME1 I added this offset:
[DME1 Distance]
Offset=0C29
Length=2
Format="DME1 "####
Problem 1: DME is displayed as 5 digit integer rather than a 00.0 format, for instance:
Actual DME: 26.1 - 22.9 - no reading
Display: 13874 - 12850 - 12336
The same happens with a format line like
Format="DME1 "000.00
or no format at all.
Problem 2: I tried to configure the encoder built in pushbutton to toggle NAV1 frequency.
What I found:
NAV1 toggle:
FSUIPC value: 2^1 = 0010
FS2Phidget INI file: Bit=2 (accordingly)
Value displayed by assign window when True: 0100 (corresponds to FSUIPC COM2 toggle)
Action from pushbutton: Toggle COM2, accoding to 0100 value
NAV2 toggle:
FSUIPC value: 2^0= 0001
FS2Phidget INI file: Bit=1 (accordingly)
Value displayed by assign window when True: 0010 (corresponds to FSUIPC NAV1 toggle)
Action from pushbutton: no action on any radio frequency as displayed on monitor screen.
Can you please help?
Thank you
Roberto
For DME1 I added this offset:
[DME1 Distance]
Offset=0C29
Length=2
Format="DME1 "####
Problem 1: DME is displayed as 5 digit integer rather than a 00.0 format, for instance:
Actual DME: 26.1 - 22.9 - no reading
Display: 13874 - 12850 - 12336
The same happens with a format line like
Format="DME1 "000.00
or no format at all.
Problem 2: I tried to configure the encoder built in pushbutton to toggle NAV1 frequency.
What I found:
NAV1 toggle:
FSUIPC value: 2^1 = 0010
FS2Phidget INI file: Bit=2 (accordingly)
Value displayed by assign window when True: 0100 (corresponds to FSUIPC COM2 toggle)
Action from pushbutton: Toggle COM2, accoding to 0100 value
NAV2 toggle:
FSUIPC value: 2^0= 0001
FS2Phidget INI file: Bit=1 (accordingly)
Value displayed by assign window when True: 0010 (corresponds to FSUIPC NAV1 toggle)
Action from pushbutton: no action on any radio frequency as displayed on monitor screen.
Can you please help?
Thank you
Roberto