Subversion Repositories DashDisplay

Rev

Rev 7 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 7 Rev 15
Line 24... Line 24...
24
  PLX_MAP =   12, //MAP
24
  PLX_MAP =   12, //MAP
25
  PLX_MAF =   13, //MAF
25
  PLX_MAF =   13, //MAF
26
  PLX_ShortFuel = 14, //Short term fuel trim
26
  PLX_ShortFuel = 14, //Short term fuel trim
27
  PLX_LongFuel =15, //Long term fuel trim
27
  PLX_LongFuel =15, //Long term fuel trim
28
  PLX_NBO2 =  16, //Narrowband O2 sensor@@@@@@@
28
  PLX_NBO2 =  16, //Narrowband O2 sensor@@@@@@@
29
  PLX_Knock = 19, //Knock
-
 
30
  PLX_Fuel =  17, //Fuel level
29
  PLX_Fuel =  17, //Fuel level
31
  PLX_Duty  = 20, //Duty cycle
-
 
32
  PLX_Volts = 18, //Volts
30
  PLX_Volts = 18, //Volts
-
 
31
  PLX_Knock = 19, //Knock
-
 
32
  PLX_Duty  = 20, //Duty cycle
-
 
33
  PLX_X_CHT = 21, // Extended observations for aircooled engine 
33
  PLX_MAX_OBS
34
  PLX_MAX_OBS
34
} PLX_Observations;
35
} PLX_Observations;
35
 
36
 
36
extern double ConveriMFDRaw2Data(int sensor, int units, int raw);
37
extern double ConveriMFDRaw2Data(int sensor, int units, int raw);
37
 
38
 
Line 46... Line 47...
46
} PLX_SensorInfo;
47
} PLX_SensorInfo;
47
#pragma pack(pop)
48
#pragma pack(pop)
48
 
49
 
49
typedef struct
50
typedef struct
50
{
51
{
51
        char name[5];
52
        char name[8];
52
        int  Units; // units to use in display (passed to PLX decoder )
53
        int  Units; // units to use in display (passed to PLX decoder )
53
        int  Low; // low value to use on dial display
54
        int  Low; // low value to use on dial display
54
        int  High; // high value to use on dial display
55
        int  High; // high value to use on dial display
55
        int  TickScale; // Scale values by this to give tick spacing
56
        int  TickScale; // Scale values by this to give tick spacing
56
          // so a dial with 0.. 1300 and TickScale=100 would display 14 major ticks on the dial face
57
          // so a dial with 0.. 1300 and TickScale=100 would display 14 major ticks on the dial face