06-11-2009 04:39 PM
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!
06-12-2009 03:56 PM
Hi Imagineer,
Please look at the following link and let me know if you have any questions.
http://digital.ni.com/public.nsf/allkb/18DC960767E6D1D986256CA8007965C3?OpenDocument
http://forums.ni.com/ni/board/message?board.id=30&message.id=3361
http://forums.ni.com/ni/board/message?board.id=170&message.id=65472&requireLogin=False
Regards,
Sammy Z.
10-28-2010 01:18 PM
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.
10-28-2010 02:08 PM
Correct link for J1939 protocol drivers for LabVIEW which are based on the NI-CAN channel API.