LabVIEW PassThru (SAE J2534) vehicle communication driver

Drew Technologies offers a complete set of LabVIEW VIs for developing test systems with vehicle PassThru (J2534-1) communication. Possible applications include: accessing vehicle sensors, reflashing ECU firmware, and updating calibration settings.

Program Date Description
LabVIEWJ2534.zip Feb 18, 2008 LabVIEW PassThru (J2534-1) Interface
virtual dash.vi Jan 23, 2006 Virtual dashboard example, display several OBD-II PIDs

Description

Our PassThru (J2534-1) LabVIEW toolkit consists of a set of VIs useful for in-vehicle network communication. All normal PassThru functions are implemented: initialization, send/receive, periodic messages, filtering, and reprogramming voltages. We use a wrapper to discover PassThru hardware devices, perform run-time dynamic linking, and convert between C and native Labview datatypes.

LabVIEW Instructions

Download the zipfile, unzip, and copy the files to the following locations:

  • c:\Program Files\National Instruments\Labview 7.1\user.lib\j2534.llb
  • c:\Program Files\National Instruments\Labview 7.1\user.lib\obd-ii.llb
  • c:\Program Files\National Instruments\Labview 7.1\user.lib\wrapper1.dll
  • c:\Program Files\National Instruments\Labview 7.1\user.lib\errors\cardaq-errors.txt

The VIs should appear in your functions palette. If you have any problems, make sure that you're in advanced view and that user.lib is set to synchronize to directory.

LabVIEW-RT Instructions

Since LabVIEW-RT does not use a registry, it is not possible to use run-time dynamic linking. Instead, we created a special LabVIEW-RT driver which is statically-linked to the CarDAQ or CarDAQ-Plus DLL. For more information, or to obtain this special driver, please email joravec@drewtech.com or call (734) 222-5228