Import OBDII Shared Library to LabVIEW
Posted: Thu 18. Dec 2014, 17:25
I've successfully imported the PCAN Basic, TP, UDP, CCP and XCP API's using the LabVIEW 2013 Import Shared Library tool. Everything went smoothly during the import process. I only had to occasionally include the PCAN Basic.h header to accompany some of the .dll's.
The problem I am having is when importing the OBDII API, LabVIEW reports the following problem...
------------------
The function cannot be imported into LabVIEW. This might be caused by one of the following problems:
The function is not declared in the header file but is exported in the library.
Check the header file to make sure it contains declarations of the function.
Undefined symbols can prevent the wizard from recognizing functions and parameters. To correct this problem, check the header file to determine if you must add preprocessor definitions. Click the Back button to return to the previous page of the wizard to add a preprocessor definitionsl (for example, "NIAPI_stdcall = __stdcall" or "NIAPIDefined = 1").
__cplusplus;
--------------------
All of the functions which have "Async" on the name and also OBDII_GetUnitScaling() and OBDII_ReadResponse().
I have searched the header files but can't find the necessary declarations.
Do you have any suggestions how to resolve this problem?
Many thanks,
Scott
The problem I am having is when importing the OBDII API, LabVIEW reports the following problem...
------------------
The function cannot be imported into LabVIEW. This might be caused by one of the following problems:
The function is not declared in the header file but is exported in the library.
Check the header file to make sure it contains declarations of the function.
Undefined symbols can prevent the wizard from recognizing functions and parameters. To correct this problem, check the header file to determine if you must add preprocessor definitions. Click the Back button to return to the previous page of the wizard to add a preprocessor definitionsl (for example, "NIAPI_stdcall = __stdcall" or "NIAPIDefined = 1").
__cplusplus;
--------------------
All of the functions which have "Async" on the name and also OBDII_GetUnitScaling() and OBDII_ReadResponse().
I have searched the header files but can't find the necessary declarations.
Do you have any suggestions how to resolve this problem?
Many thanks,
Scott