Using NI ADCS Demo ECU LIN for the UDS On LIN Test

Updated Nov 10, 2022

Environment

Hardware

  • LIN Interface Device

Software

  • Automotive Diagnostic Command Set Toolkit

The Automotive Diagnostic Command Set (ADCS) Toolkit is a software add-on for LabVIEW, LabWindows™/CVI, and Microsoft Visual Studio. This add-on is suitable for a range of automotive diagnostic applications that typically involve reading and writing parameters, accessing diagnostic trouble codes (DTCs), flashing ECU firmware, and initiating ECU diagnostic test modes. Using the ADCS Toolkit, you can develop a single application and deploy it as often as you like. Sometimes, you don't have the real ECU to validate your program. This article explains how you can use ADCS Demo ECU LIN vi for the UDS on LIN test.

1. Navigate to <Program Files>\National Instruments\LabVIEW (version)\examples\Automotive Diagnostic Command Set\ADCS Demo ECUs.llb. Open ADCS Demo ECU LIN vi.
2. The Interface, Baud Rate, LIN Cluster, and NAD should be configurated. Select ADCS_LIN_database in the drop-down list of the LIN Cluster. If ADCS_LIN_database can't be found, navigate to C:\Users\Public\Documents\National Instruments\Automotive Diagnostic Command Set\Examples\MS Visual C\ADCS Demo ECU LIN and add the ADCS_LIN_database.ldf database file. You can refer to LIN: Initial NAD to know more about NAD.
Capture.JPG
3. Run the demo ECU. Then you can send the UDS command to the demo ECU. If the response shows error -8018, please refer to Error -8018 When Using NI ADCS Demo ECU.