Automotive and Embedded Networks

cancel
Showing results for 
Search instead for 
Did you mean: 

J1939 BAM Message

Dear All,

 

I need to support J1939 BAM Messaging for my application. Has anyone implemented it using the simple Channel API or the complicated Frame API ?

 

Any suggestions ?

 

Thanks in advance!

0 Kudos
Message 1 of 4
(8,233 Views)
0 Kudos
Message 2 of 4
(8,223 Views)

 

I assume you are trying to read something like active DTC codes, and you have more than one so the node you are communicating with wants to send you a BAM, prior to the spew of packets holding the array of DTCs.  Is that right?

 

Also, interesting that you ask for J1939 that works with the channel API.  The only examples provided for J1939 here are based on the frame API, which precludes you from using the channel API with a CAN database on the same port. 

 

I do not think that BAM messaging or TP is worked into the example J1939 driver based on the frame API, so you would need to buy the SAE spec and add code to their example.

  

By the way, DMC recently developed a set of J1939 protocol drivers for LabVIEW which are based on the NI-CAN channel API.  The drivers are written in LabVIEW just like the example, but provide functions at a layer above the base CAN channel API layer.  This allows the simultaneous capture of data from both J1939 packets which are simple broadcast CAN frames, or more complex transport using BAM, including extended data frames.

0 Kudos
Message 3 of 4
(7,595 Views)

Correct link for J1939 protocol drivers for LabVIEW which are based on the NI-CAN channel API. Smiley Happy

0 Kudos
Message 4 of 4
(7,591 Views)