cpeckinpaugh
09-02-2006, 07:08 PM
I am trying to display DME1 distance and speed on a TextLCD phidget.
The offsets are 0C29 and 0C2E respectively.
I get very strange numbers or no numbers in response depending on the size I stipulate.
The size for these offsets is supposed to be 5.
When I use 5 I get no response or 0 depending on format.
the INI file for these looks like this.
[DME1_Dist]
Offset=0C29
Length=5
FSType=Proportional
LoValue=-16383
HiValue=16383
Format=#########.#
Multiplier=1
Divisor=1
Integer=False
NormalizeAngle=False
WriteOnly=False
[DME1_Speed]
Offset=0C2E
Length=5
FSType=Proportional
LoValue=-16383
HiValue=16383
Format=0
Multiplier=1
Divisor=1
Integer=False
NormalizeAngle=False
WriteOnly=False
Any help much appreciated
Cam
The offsets are 0C29 and 0C2E respectively.
I get very strange numbers or no numbers in response depending on the size I stipulate.
The size for these offsets is supposed to be 5.
When I use 5 I get no response or 0 depending on format.
the INI file for these looks like this.
[DME1_Dist]
Offset=0C29
Length=5
FSType=Proportional
LoValue=-16383
HiValue=16383
Format=#########.#
Multiplier=1
Divisor=1
Integer=False
NormalizeAngle=False
WriteOnly=False
[DME1_Speed]
Offset=0C2E
Length=5
FSType=Proportional
LoValue=-16383
HiValue=16383
Format=0
Multiplier=1
Divisor=1
Integer=False
NormalizeAngle=False
WriteOnly=False
Any help much appreciated
Cam