From 04:00 PM CDT – 08:00 PM CDT (09:00 PM UTC – 01:00 AM UTC) Tuesday, April 16, 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: 

How to use "Ivi_ClearErrorinfo()"

What are the possibilities to handle an error during dataaquisition (-10920 = datalosserror during dataaqu. cause of speed limitation of your system). I want to avoid the popup window with the errormessage. Is it possible with the command Ivi_ClearErrorInfo(), if yes, how can I use this command in my programm or are there other possibilities for errorhandling.
0 Kudos
Message 1 of 2
(2,496 Views)
The popup should only occur when you are debugging the application in CVI as part of the built in error checking in CVI, not if you build as a release executable. You can turn off automatic breaking on library errors in debugging by going to Options->Run Options... and unchecking Break on Library Errors. The IVI_ClearErrorInfo function is of no use in this case since it is a IVI function for dealing with IVI functions not DAQ functions.

Best Regards,

Chris Matthews
National Instruments
0 Kudos
Message 2 of 2
(2,496 Views)