C125 and CAN pressure scanner

D153, D175, C125, C127, C185 and C187 forum

C125 and CAN pressure scanner

Postby redmistracing on Thu Oct 19, 2023 7:07 am

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
Attachments
P16A_DIFF_MUXON_CANID_ALL.dbc
(1.66 KiB) Downloaded 406 times
redmistracing
 
Posts: 3
Joined: Thu Nov 11, 2021 2:51 am

Re: C125 and CAN pressure scanner

Postby Stephen Dean on Thu Oct 19, 2023 9:08 am

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" ;
Stephen Dean
MoTeC Research Centre Melbourne, Australia
User avatar
Stephen Dean
Site Admin
 
Posts: 1782
Joined: Tue Dec 02, 2014 10:29 am
Location: Melbourne

Re: C125 and CAN pressure scanner

Postby adrian on Thu Oct 19, 2023 4:37 pm

"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.
adrian
MoTeC
 
Posts: 722
Joined: Mon Apr 13, 2015 5:16 pm


Return to Colour displays

Who is online

Users browsing this forum: No registered users and 3 guests