LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Device to read and write protocl Can J1939

Solved!
Go to solution

Hello, I want to read and write commands to protocol Can J1939 and I would like if you can tell me what device I need to communicate with this protocol, or what you recommend to use because I want to send and read the commands from Labview and I want to controller 2 Linear actuators Thomsom so I don't Know what device used to communicate between LabVIEW and actuators Thomson with the protocol j1939.

 

Thank you.

 

Regards. 

0 Kudos
Message 1 of 9
(2,082 Views)

Hi Roger,

 


@Roger125 wrote:

I want to read and write commands to protocol Can J1939 and I would like if you can tell me what device I need to communicate with this protocol,


You need to use device providing a CAN port.

I often use simple NI9853 modules…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 9
(2,073 Views)

Thanks for your answer GerdW I Read the Datasheet from NI9853 but we don't have the Compaq RO and want to ask you if I can use this Module USB-8551 PartNumb. 784662-01.

 

Regards.

0 Kudos
Message 3 of 9
(2,067 Views)
Solution
Accepted by Roger125

There are no USB-8551 device from NI, but there is a USB-8501 and a USB-8502 CAN device. 

 

The 8501 is a Low speed CAN  device. To use this you need to make sure that your CAN bus is not running with a higher speed than 125k baud rate. 

 

I will suggest to use the USB-8502 CAN hardware for your J1939 communication. 

Are you planning to program your own J10939 implementation or are use using 3rd party toolkits ? 

0 Kudos
Message 4 of 9
(2,035 Views)

I would like to use the library from NI, which I found in the NI  example with Library from j1939. 

 

Regards. 

0 Kudos
Message 5 of 9
(1,998 Views)

Hi Roger,

 

why don't you call your local NI sales office to have give suggestions!?

 

I don't use that library (nor did you supply a link), but I guess somewhere in the description of that library there is information on the supported hardware…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 6 of 9
(1,996 Views)

Hello, I reviewed the blog from national, and yes the hardware that specific is to CompaqRIO.
thank you for clarified the questions.  

 

 

Regards. 

 

Roger125_1-1614867352161.png

 

0 Kudos
Message 7 of 9
(1,991 Views)

Hello,

 

I am using the National Instrument 8502 CAN module and I want to send the request ID to j1939 to get the data from the xyz sensor. Which sample program should I use?

 

I am using this program but it is not working.

NP895642_0-1667247836746.png

 

Thanks.

 

 

 

 

0 Kudos
Message 8 of 9
(1,137 Views)

What is not working ?

Do you get any errors ? 

Do you get any data? 

 

Have you seen Hooovahh's CAN Blog ?

There you can learn all about LabVIEW and CAN.

0 Kudos
Message 9 of 9
(1,105 Views)