Automotive and Embedded Networks

cancel
Showing results for 
Search instead for 
Did you mean: 

Using Can with Labview

Hi,

I'm new to Labview and I'm trying to create a simple Bus Monitor (I know there is one in the NI Measurement and Automation Explorer but we are using a different frame format and their bus monitor cant cope) for a CAN. I've looked at the manuals and the tutorials but I cant get any examples to work or find any of the CAN API stuff in LabView. It seems to me like some of the library functions (if thats what you call them in LabView 😉 ) are missing. I tried reinstalling and looking at the NI website with no success. Can anyone shed any light on what the problem may be?

Thanks,
Elissa
0 Kudos
Message 1 of 2
(3,395 Views)
Hi Elissa,

it depends on your version of LabVIEW, where the NI-CAN paletts get installed:
If you're using LabVIEW 6.1, you will find the 'CAN' palette right in the first level of the 'Functions' palette.
If you're using LabVIEW 7.0 (or newer), you will find the 'CAN' palette right in the 'NI Measurements' palette.
To find an NI-CAN driver that support an older version of LabVIEW, please see here:
http://digital.ni.com/public.nsf/3efedde4322fef19862567740067f3cc/e01ef8b67cb49a4c86256cde0051df66?OpenDocument

There is a LabVIEW example that receives data, like the BusMonitor does.
Open the NI Example Finder (in LabVIEW: Help » Find Examples) and navigate to the CAN Receive example:
Hardware Input and Output » CAN » Frame API » General » CAN Receive.vi
In case of an older version of LabVIEW (no NI Example Finder), you can find the NI-CAN examples typically at
C:\Program Files\National Instruments\LabVIEW x\examples\nican\...

-B2k
0 Kudos
Message 2 of 2
(3,383 Views)