LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

How do I prevent LabWindows/CVI from popping up I/O Error popup screens?

When my software encounters a system call problem (e.g., TCP/IP I/O), a popup screen comes up and stops my program.  Is there a way to set the software to not bring up a popup screen?  After all, the system calls does return an error indication anyway.
 
Sincerely,
James Horiuchi
 
0 Kudos
Message 1 of 3
(3,113 Views)

Try setting the Build->Configuration option to Release, instead of Debug.

JR

Message 2 of 3
(3,109 Views)

You can prevent error messages to popup by unchecking the "Break on library errors" option. If you are using version 7 you find it in Run >> Break on... menu, while in version 6 it's located under Options >> Run option in the project window.

These options should only be set when your application is at good level of debug, since they may hide an error and lead to unpredictable behaviour of your program.

You may want to mask these popup when some part of your code is executed, leaving the option checked and using:

previousState = GetBreakOnLibraryErrors ();

// The code from which you want to exclude error popups

SetBreakOnLibraryErrors (previousState);



Proud to use LW/CVI from 3.1 on.

My contributions to the Developer Community
________________________________________
If I have helped you, why not giving me a kudos?
Message 3 of 3
(3,105 Views)