Rev 6 | Rev 15 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 6 | Rev 7 | ||
|---|---|---|---|
| Line 36... | Line 36... | ||
| 36 | extern double ConveriMFDRaw2Data(int sensor, int units, int raw); |
36 | extern double ConveriMFDRaw2Data(int sensor, int units, int raw); |
| 37 | 37 | ||
| 38 | #pragma pack(push,1) |
38 | #pragma pack(push,1) |
| 39 | typedef struct |
39 | typedef struct |
| 40 | { |
40 | { |
| 41 | char ObsH; |
41 | char AddrH; |
| 42 | char ObsL; |
42 | char AddrL; |
| 43 | char ObsIndex; |
43 | char Instance; |
| 44 | char ReadingH; |
44 | char ReadingH; |
| 45 | char ReadingL; |
45 | char ReadingL; |
| 46 | } PLX_SensorInfo; |
46 | } PLX_SensorInfo; |
| 47 | #pragma pack(pop) |
47 | #pragma pack(pop) |
| 48 | 48 | ||
| Line 52... | Line 52... | ||
| 52 | int Units; // units to use in display (passed to PLX decoder ) |
52 | int Units; // units to use in display (passed to PLX decoder ) |
| 53 | int Low; // low value to use on dial display |
53 | int Low; // low value to use on dial display |
| 54 | int High; // high value to use on dial display |
54 | int High; // high value to use on dial display |
| 55 | int TickScale; // Scale values by this to give tick spacing |
55 | 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 |
56 | // so a dial with 0.. 1300 and TickScale=100 would display 14 major ticks on the dial face |
| - | 57 | int DP; // Number of decimal places to display |
|
| 57 | } PLX_DisplayInfo; |
58 | } PLX_DisplayInfo; |
| 58 | 59 | ||
| 59 | 60 | ||
| 60 | extern PLX_DisplayInfo DisplayInfo[]; |
61 | extern PLX_DisplayInfo DisplayInfo[]; |
| 61 | 62 | ||