From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Non Fatal Run Time Error Handling

Solved!
Go to solution

HOw DO i Prevent this pop up... i'm using errchk but still it overides it ... i'm a beginner ...plz help

if error occurs i want to handle , i don't want it to show the whole world

0 Kudos
Message 1 of 2
(4,339 Views)
Solution
Accepted by topic author karthik9

Popup error messages on library errors can be prevented by unchecking Run >> Set Break On >> Library errors menu option. This is valid for the whole project.

 

If you want to hide the error only on a particular section of code you can embed it into a pair of SetBreakOnLibraryErrors () calls; see the help for this function for an explanation.



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 2 of 2
(4,336 Views)