How can I use a Third-Party CAN, LIN, or FlexRay device with LabVIEW? What do I need to install when using non-NI interfaces with LabVIEW?
To use third-party CAN, LIN, or FlexRay interfaces with LabVIEW, the provider must have a written library that can be called from the software. Usually in the form of LabVIEW VIs, Dynamic-Link Libraries (.dll), or .NET/ActiveX constructors. When setting up your device, look for the next two items:
For example: To use the CANCapture® Standard ECOM cable, you will need to download the ECOM Device Driver, and use the Simple LabVIEW Example (and LabVIEW Driver) that comes with it.
For a smoother experience using CAN, LIN, and FlexRay communications, NI offers an array of hardware options that include the USB, cDAQ, cRIO, PCI and PXI platforms. More information here: Vehicle Communication Buses.
NI-XNET is the newest NI's driver to interface with CAN, LIN and FlexRay devices. NI-XNET just works with selected NI hardware. Read more about its supported resources in the NI-XNET Readme file.
NI-CAN is a legacy driver used to interface with former NI's CAN devices. Read more about its supported hardware in the NI-CAN Readme file. Note: NI-CAN just supports LabVIEW 32-bit version.
Collaborate with other users in our discussion forums
A valid service agreement may be required, and support options vary by country.