Solution
Both NI ADCS and NI ECU MC Toolkit software supports Microsoft Visual C/C++ 6.
For file path information of examples and libraries, please refer to the manual:
Automotive Diagnostic Command Set (CAN and LIN) HelpECU Measurement and Calibration Toolkit (CAN) HelpExamples are provided in a single
.c file. To use them in C++, simple change the extension to
.cpp. Both toolkit support 32-bit and 64-bit application.
To prevent compilation error, the configuration has to be done in Visual Studio:
1.
C/C++ >>
General >>
Additional Include Directories:
•
$(NIEXTCCOMPILERSUPP)\include;%(AdditionalIncludeDirectories)2.
Linker >>
General >>
Additional Library Directory:
• For 32-bit application:
$(NIEXTCCOMPILERSUPP)\lib32\msvc;%(AdditionalLibraryDirectories) • For 64-bit application:
$(NIEXTCCOMPILERSUPP)\lib64\msvc;%(AdditionalLibraryDirectories)3.
Linker >>
Input >>
Additional Dependencies:
• For ADCS:
NIDiagCS.lib • For ECU MC:
niemcc.libPlease note that Demo ECUs are only available in LabVIEW.