LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Labview Dll call library function Causing Labview to unload

I am trying to use the Call Library function in Labview 7.1 to call an Init function for a Zathic Can4USB device. When I run the vi, it complete log LabView out of the computer. Can anyone tell me why the function totally unloads LV without displaying an error?
 
Thanks
0 Kudos
Message 1 of 3
(2,473 Views)
Either the function has a serious bug or you are calling it with invalid parameters or wrongly setup parameters. The problem happening here is that your DLL passes somehow invlid parameters to a system device driver and that driver causes a protection fault. For device driver execeptions which happen in the privileged kernel, Windows does not try to attempt to message a user in such cases (other than the threaded blue screen of dead which when you get it really means a full restart) but unloads the current application as fast as possible.

Check the documentation for this function and try to see where you call it srong or contact the developer of this DLL for assitence.

Rolf Kalbermatter
Rolf Kalbermatter
My Blog
0 Kudos
Message 2 of 3
(2,471 Views)

ROLFK

Thank you for the information. It turns out that the documentation didn't match the definitions in the routines software. I have correct the problems.

 

Thanks again

 

0 Kudos
Message 3 of 3
(2,450 Views)