LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Clear Error VI

Solved!
Go to solution

There is a situation inside a timed loop where there is a possibility of a function returning an Error.  And this Error can be safely ignored and the Timed loop allowed to run.

 

Question is what happens in the process of suppressing this error ? The Timed loop fires once every 10mS and this means that in a second I am going to supress 100 errors ? Will this compromise the execution of the program  when allowed to run for a long time ( typically 10 days at a stretch ) - of course not that the error is going to manifest all through the 10 days !

 

Put simply : It is always good to code such that there is no need to supress an error. But when this is not possible is there any performance penalty in using this Clear Error function ?

 

Thanks  

Raghunathan
LabVIEW to Automate Hydraulic Test rigs.
0 Kudos
Message 1 of 2
(2,497 Views)
Solution
Accepted by topic author MogaRaghu

You can see for yourself what the function does. No more overhead than calling a subVI that does nothing.

0 Kudos
Message 2 of 2
(2,489 Views)