Signal
Several configuration sections use a similar structure for configuring a signal interpretation (decoding). Different conventions defining signal interpretation exists. The CANedge configuration adopts the convention used by .DBC files.
Below example demonstrates how the interpretation of signal Epoch from message GnssTime (ID 102) defined in a .DBC file is entered in the configuration file.
The .DBC file section describing the GnssTime message (ID 102) is:
BO_ 102 GnssTime: 6 Vector__XXX
SG_ TimeValid : 0|1@1+ (1,0) [0|1] "" Vector__XXX
SG_ TimeConfirmed : 1|1@1+ (1,0) [0|1] "" Vector__XXX
SG_ Epoch : 8|40@1+ (0.001,1577840400) [0|0] "sec" Vector__XXX
The signal interpretation of Epoch signal is defined by the final line. The line is explained below:
Bit position, length, factor and offset can be copied directly into the configuration file. Byteorder and Data type are defined by the following mappings:
DBC value |
Byteorder |
---|---|
0 |
Motorola |
1 |
Intel |
DBC value |
Byteorder |
---|---|
+ |
Unsigned |
- |
Signed |
Warning
GUI tools supporting the DBC file format may use a different convention for displaying e.g. bit-position. It is recommended to use the information directly from the .DBC file when configuring the CANedge.