09-22-2009 05:06 AM
Hello everyone,
If the "automatic error handling" property is enabled for a vi deployed to a rt-target with no user interface, can this cause the vi to stop in case of error?
Thanks in advance for your help.
09-22-2009 05:28 AM
Hi,
It is same as on the host machine. If the error wire is open then there will be a pop up, and the nodes which cannot execute on error won't be able to execute.
09-22-2009 05:53 AM
I will try to make my question clearer. If the node in error is within a loop, will the loop execution stop waiting for user acknowledgement (pop up window
that will not be seen in the rt system with no user interface).
Thanks for your help.
09-23-2009 02:35 AM
Hello,
Actually, I have built a fast example on a cRIO-9012 (runs VxWorks OS) that tries to open a non-existant file when the USER switch is off with automatic error handling on and no error wires or indicators. I have also built a similar example for a PXI running Pharlap ETS. RT version is 9.0 with LV 2009.
The result is that no pop up is seen in the programming evironment and the application is not stopped. I have also built a stand-alone application and I got the same result. Anyway, I do not recommend you at all leaving error wires without being routed to an error indicator. In your while loop you should always check the status bit in error cluster in and stop the loop in case an error has been produced.
Greetings.
09-23-2009 02:47 AM
Hi,
My bad, I had always thought that because of front panel communication in case of lV RT there should be a pop up. Even I tried on RT Targets (Vi version) and I did not get a pop up even after making sure that the automatic error dialoges were checked.
But yeah, it is good to route the wires to the indicators, and nodes won't execute if error occures and the same wire pass through them.