Automotive and Embedded Networks

cancel
Showing results for 
Search instead for 
Did you mean: 

Read all raw data out of the CAN bus

Hello,

 

our company has purchased a complete CAN bus HW; chasis 9174 and module 9862. I am using NI-DAQmx 9.5.5, NI-XNET 1.5.

 

I have connected the module (CAN High, CAN Low, Vsupp 12V - Car battery, GND - Car battery) to the ABS CAN bus segment.

Using Osciloscope on CAN High and CAN Low wires I can see communication rolling when I start the car ignition.

 

I had no success using the Bus Monitor utility.

 

I made a very simple read VI hoping to monitor some traffic.

CanBusRead.png

 

All VIs run without error, but the Read VI is returning same data (Ignition off or on), I do not know what am I supposed to recieve, what kind of data is the output.

I think it is wrong, since I get the same data out of it no matter what the CAN bus traffic is.

 

The array of frames is filled with two frames with message identifiers that should be transmitted. I added two frames into emopty database and no signals.

 

1) From my understanding, the Bus Monitor utility monitors only those messages that I specify in the database, so that no messages/frames = no traffic monitored, is this correct ?

2) Is there any way, how to read all raw data from the bus ? What VI palettes to use... ?

0 Kudos
Message 1 of 2
(6,542 Views)

Problem solved, the company that was preparing the car made wrong labels (swapped CAN H with CAN L) Smiley Mad

0 Kudos
Message 2 of 2
(6,529 Views)