Automotive and Embedded Networks

cancel
Showing results for 
Search instead for 
Did you mean: 

Need help with J1939 on NI USB-8473

I just recently purchased a NI 8473 with hopes to aquire Engine Speed and Vehicle Speed over J1939 CAN Bus.

 

I have no idea where to start.

 

I learn very well from example so a simple VI to get me started would be nice. 

 

I am using Labview 2009.

Message 1 of 13
(12,418 Views)

Kommes,

 

We have some good reference examples for using J1939 with our CAN devices here. If you are not familiar with the standard, there are quite a few resources to learn up on it as well. 

 

This document has a good overview, example code, and should get your started!

 

https://forums.ni.com/t5/Example-Code/J1939-Transport-Protocol-Reference-Example/ta-p/3984291

--Paul Mandeltort
Automotive and Industrial Communications Product Marketing
Message 2 of 13
(12,417 Views)

I tried that and these fail to load.

 

Stop FGV Commands.ctl

CanFrameTimed.ctl

ncWriteNet.vi

ncReadNetMult.vi

ncGetAttr.vi

ncOpen.vi

ncConfigCANNet.vi

ncNetAttr.ctl

ncClose.vi

 

Should I have something installed that I do not?

0 Kudos
Message 3 of 13
(12,415 Views)

Kommes,

 

Yes, you need NI-CAN installed, which is the basic API and driver for NI USB CAN interfaces.  The driver CD comes with the device, and you can also get it from the drivers page. 

 

https://www.ni.com/en/support/downloads/drivers/download.ni-can.html

--Paul Mandeltort
Automotive and Industrial Communications Product Marketing
0 Kudos
Message 4 of 13
(12,403 Views)

I have already installed NI CAN 2.5.2 and now 2.6.2.

 

Still no luck finding any of those VIs

0 Kudos
Message 5 of 13
(12,393 Views)
I think you need to install 2.6.3 to get LV 2009 support.
0 Kudos
Message 6 of 13
(12,384 Views)

Kommes:

I had to install the Simple Messaging Referencing Library (https://www.ni.com/en/support/documentation/supplemental/21/simple-messaging-stm-communication-libra...) in order to get the first item on your list to load.  Have you tried that?  I hate to jump into a conversation so late (your last post on this was dated 9/24/2009) but I just got into the forum recently and I'm doing some catchup of my own on some issue avoidance research.  I found the STM library when I loaded the J1939 Transport Reference library.  I also have some questions about that example, but I may call NI first before I post my question if I don't see an answer here somewhere.

Bill

GCentral
0 Kudos
Message 7 of 13
(12,244 Views)

 

Hi I had lots of problem, but reading the NI_CAN and they support only LV8.6 yet, I hope they fix this for 2009 soon. And there is installed under LV8.6/examples/NI-CAN there you find really good samples to modfy.

0 Kudos
Message 8 of 13
(12,158 Views)

Cbro wrote:

 

Hi I had lots of problem, but reading the NI_CAN and they support only LV8.6 yet, I hope they fix this for 2009 soon. And there is installed under LV8.6/examples/NI-CAN there you find really good samples to modfy.


 

 

NI-CAN 2.6.3 support LV 2009

Message 9 of 13
(12,155 Views)

hi have you got the VI pls share if you could

 

thanks

0 Kudos
Message 10 of 13
(11,123 Views)