I got a problem for calling a CVI dll from Labview, anybody can help me out.
I implemented a CVI function to open a COM port and write a string to the poer, like:
OpenComConfig (1, "COM1", 9600, 0, 8, 1, 2048, 2048) ;
ComWrt (1, "This is a test string", 21);
then I can the function from labview, the function OpenComConfig alwany return -7 to tell me
"Cannot open port". If I run the function in Labwindow eveything is fine.
Fengfeng