LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

i am writing a program that repuire the application of a call library function but everytime i run, the program just get hang.

i am converting the code for the pda12a into labview.Previously it is written in c language and compiled into a dll.As a result i used the call library function that will allow me to import the dll into labview so that the code can run in labview platform.There were no problem with most call except one particular dll that once i start to run it,it will hang indefinitely but there were no error that say i have written it wrongly.So how do i know where the problem lie in.???
0 Kudos
Message 1 of 2
(2,268 Views)
Try calling the function from a different C program (exe or dll) and see if you see the same behavior as a you saw when calling the function from LabVIEW. I would also suggest compiling a debug version of the dll, call it from LabVIEW, and step through the code. Lastly, make sure you trap any error codes in the DLL to see if you are timing out, etc.

Chris_Mitchell
Product Development Engineer
Certified LabVIEW Architect

0 Kudos
Message 2 of 2
(2,268 Views)