I know I have had this working before, but can't seem to figure it out today, plus could not find anything in the forum.
I have a symbol file (FormatVersion=5.0) for which I have enums assigned for some symbols. I'd like to be able to see the text associated with the symbol in a ValueInidcator in a Instrument Panel file, instead of the numeric value. How do I do it?
Example, for ChainLatchStatus)
Code: Select all
{ENUMS}
enum ChainLatchStatus (0="Default ERROR", 1="UnLatched", 2="Latched", 3="In Transit", 4="Valve Driver Fault")
{SENDRECEIVE}
[Hitch_Status_1]
ID=18FFE042h // 0xFFE0, SA=0x42 (66), Rep = 50 mS
DLC=8
CycleTime=50
Var=HydraulicPressure unsigned 0,16 /o:0 /f:0.1 /u:PSI // Does not use metric, i.e. does not conform to SAE spec for liquid pressure
Var=InsufficientHydraulicPressure unsigned 16,2 /o:0 /f:1.0
Var=StartHitch_UnHitchStatusNumeric unsigned 18,4 /o:0 /f:1.0
Var=HitchHoodStatusNumeric unsigned 22,4 /o:0 /f:1.0
Var=PintleReleaseStatusNumeric unsigned 26,4 /o:0 /f:1.0
Var=TongueLockStatusNumeric unsigned 30,4 /o:0 /f:1.0
Var=KickstandStatusNumeric unsigned 34,4 /o:0 /f:1.0
Var=HitchLockStatusNumeric unsigned 38,5 /o:0 /f:1.0
Var=ChainLatchStatusNumeric unsigned 43,5 /o:0 /f:1.0 /e:ChainLatchStatus