LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

shared libraries, dll, on error return to caller and skip rest of vi

I am trying to Build Shared libraries (DLL) using labview which will be called by my application. Is there way to stop the executing VI and return value of arguments to caller if for example error occurs in middle of code, without executing rest of the VI? I try using Application Control's >> Stop, and Exit button. But it didn't work. With Stop, it stops the VI in runtime engines but it does not return the arguments. It just hangs up there. And with Quit, it quits the application, and c++ complains the DLL quits unexpectedly without passing in require arguments.
Is there a way of skipping to the end of executing if error occurs?


Any idea or suggestion?
Thanks
Mitesh
0 Kudos
Message 1 of 2
(2,638 Views)
This was answered in LV general

http://exchange.ni.com/servlet/ProcessRequest?RHIVEID=101&RPAGEID=135&HOID=506500000008000000424C0000&UCATEGORY_0=_49_%24_6_&UCATEGORY_S=0

Ben
Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 2 of 2
(2,638 Views)