07-25-2019 11:41 PM
I want to call a teststand api, TSUI_ApplicationMgrStart, in my CVI program.
Code snippet:
ERRORINFO errorInfo = {0, 0, "", "", "", 0, 0}; tsErrChk( TSUI_ApplicationMgrStart(gMainWindow.applicationMgr, &errorInfo));
But when build my project, I come across this link error:
Undefined symbol '_TS_GetOLEErrorMsg' referenced in "main.c".
I quite suspect if there is some dependcy lib missing in this system.
07-26-2019 12:05 AM
I have find a solution.
I should add a Instrument File, tsutil.fp, to my project.
This is my way: "Instrument Files"->right click, choose adding Existing file -> brower to system CVI directory and select tsutil.fp.
Is there any other elegant way?