From 04:00 PM CDT – 08:00 PM CDT (09:00 PM UTC – 01:00 AM UTC) Tuesday, April 16, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

Example Code

OBD-II CAN Car Monitor Demo

Code and Documents

Attachment

Overview


This pre-compiled example uses the Automotive Diagnostics Command Set, NI CAN, and LabVIEW to monitor live variables in any OBD-II compliant vehicle with CAN (usually year 2006 and newer vehicles). You need the LabVIEW Runtime engine 2009 and NI-CAN 2.4 or XNET 1.3 or later installed to run this example.

To install, unzip the attached .zip and run the .exe program. This example needs the LabVIEW Runtime Engine 2009 and NI-CAN 2.4 or XNET 1.3 or newer installed to function. A USB-CAN interface is recommended for this example. This example demonstrates a common use of the Automotive Diagnostic Command Set. To develop your own applications, purchase the Command Set at http://ni.com/can.

Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.

Contributors