Automotive and Embedded Networks

cancel
Showing results for 
Search instead for 
Did you mean: 

I've got the NI USB 8473 up & running, now how to read J1708/1587 & J1939

In my present application I've been using NI's USB 8473 quite successfully to communicate with a custom made DAQ/Control device that accepts CAN channel inputs for system read/write.

 

I have a present situation to where I need to begin reading CAN setup for J1708/1587 & J1939 protocols.  How much more programing is there to begin reading from these ECUs that support the latter protocols?  

 

I've been doing a ton of digging on the above protocols and any Labview drivers from CAN manufacturers.

 

I've come across the 1200 API, and am a bit confused on how to even begin reading messages from the ECU... I may be one step away or quite a few.  Can anyone chime in here?

 

Also, how many devices can the USB 8473 read from at one time?  Can I read simultaneously from an ECU as well as the custom DAQ/Control device I am using?  Just add another resistor?

 

Thanks.

0 Kudos
Message 1 of 3
(7,238 Views)

I am not sure I can help you with the J1708/1587 protocol, but have you seen the J1939 reference examples at https://forums.ni.com/t5/Example-Code/J1939-Transport-Protocol-Reference-Example/ta-p/3984291

The referenced code is quite detailed regarding J1939 as is the accompanying information.  I am not using it with the 8473 but it should be capable if you use the frame based examples.

Regarding the remaining questions, let's take it one step at a time.

 

Bill

GCentral
0 Kudos
Message 2 of 3
(7,220 Views)

As far as the j1708/1587 part, it will not work with the 8473. This portocol is more similar to RS-485 and may be implemented on our 485 interfaces. The 485 standard lies within the specs of the J1708/1587 standard, but the latter implements some higher-level error checking and other functions that you will have to do manually if using a 485 interface. The 485 itnerface will return "raw" data and you will have to build an application to interpret this data. This is not a "supported" feature of this card, so it is not guaranteed to work, but since the specs of one standard conform to the other, it should work. Here is a good page on the J1708 protocol.

 

Good Luck!

---

Peter Flores
Applications Engineer
0 Kudos
Message 3 of 3
(7,214 Views)