Page 1 of 1

C125 and CAN pressure scanner

PostPosted: Thu Oct 19, 2023 7:07 am
by redmistracing
Hi,

We have a C125 which we are hoping to combine with a 16 channel pressure scanner via CAN. We have a DBC file for the CAN pressure scanner which was provided but it won’t import to the dash manager. Would anyone take a look and help us get it talking to the logger? DBC supplied below.

Many thanks

Tim

Re: C125 and CAN pressure scanner

PostPosted: Thu Oct 19, 2023 9:08 am
by Stephen Dean
trying to open the file in CANDB++ it is erroring on Line 22. Removing that file from the dbc just moves the syntax error to line 21 instead. Do you have the base CAN messages that should be seen?

VERSION ""
NS_ :
CM_
BA_DEF_
BA_
VAL_
BA_DEF_DEF_
SIG_VALTYPE_
BS_:
BU_: Vector__XXX
BO_ 0 P16A_Diff: 8 Vector__XXX
SG_ P16A_Diff_Mux M : 7|8@0+ (1,0) [0|0] "" Vector__XXX
SG_ CH1 m0 : 15|16@0+ (0.01,-400) [-400|255.35] "mBar" Vector__XXX
SG_ CH2 m0 : 31|16@0+ (0.01,-400) [-400|255.35] "mBar" Vector__XXX
SG_ CH3 m0 : 47|16@0+ (0.01,-400) [-400|255.35] "mBar" Vector__XXX
SG_ RANGE m0 : 56|8@1+ (1,0) [0|255] "" Vector__XXX
SG_ CH4 m1 : 15|16@0+ (0.01,-400) [-400|255.35] "mBar" Vector__XXX
SG_ CH5 m1 : 31|16@0+ (0.01,-400) [-400|255.35] "mBar" Vector__XXX
SG_ CH6 m1 : 47|16@0+ (0.01,-400) [-400|255.35] "mBar" Vector__XXX
SG_ TEMPERATURE m1 : 56|8@1- (1,0) [-128|127] "°C" Vector__XXX
SG_ CH7 m2 : 15|16@0+ (0.01,-400) [-400|255.35] "mBar" Vector__XXX
SG_ CH8 m2 : 31|16@0+ (0.01,-400) [-400|255.35] "mBar" Vector__XXX
SG_ VERSION m2 : 56|8@1+ (1,0) [0|255] "" Vector__XXX
SG_ CH9 m2 : 47|16@0+ (0.01,-400) [-400|255.35] "mBar" Vector__XXX
SG_ CH10 m3 : 15|16@0+ (0.01,-400) [-400|255.35] "mBar" Vector__XXX
SG_ CH11 m3 : 31|16@0+ (0.01,-400) [-400|255.35] "mBar" Vector__XXX
SG_ CH12 m3 : 47|16@0+ (0.01,-400) [-400|255.35] "mBar" Vector__XXX
SG_ CH13 m4 : 15|16@0+ (0.01,-400) [-400|255.35] "mBar" Vector__XXX
SG_ CH14 m4 : 31|16@0+ (0.01,-400) [-400|255.35] "mBar" Vector__XXX
SG_ CH15 m4 : 47|16@0+ (0.01,-400) [-400|255.35] "" Vector__XXX
SG_ CH16 m5 : 15|16@0+ (0.01,-400) [-400|255.35] "mBar" Vector__XXX
SG_ SERIALNUMBER m5 : 31|16@0+ (1,0) [0|65535] "" Vector__XXX
BA_DEF_ "BusType" STRING ;
BA_DEF_DEF_ "BusType" "CAN";
BA_ "BusType" "CAN";
VAL_ 0 P16A_Diff_Mux 0 "MUX0" 1 "MUX1" 2 "MUX2" 3 "MUX3" 4 "MUX4" 5 "MUX5" ;

Re: C125 and CAN pressure scanner

PostPosted: Thu Oct 19, 2023 4:37 pm
by adrian
"Version" is a reserved name in a dbc file so you can't have a signal called version. Edit the file in a text editor, on line 29 change 'VERSION" to something else (like "P16A_Version" - spaces are not allowed either) and it should load.