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