LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

automatic error handling under lv-rt

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.

0 Kudos
Message 1 of 5
(2,934 Views)

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.

 

 

 

 

-Mallya

" Appreciate and motivate those who help"
0 Kudos
Message 2 of 5
(2,927 Views)

 

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.

 

 

0 Kudos
Message 3 of 5
(2,915 Views)

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.

Message 4 of 5
(2,892 Views)

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. 

-Mallya

" Appreciate and motivate those who help"
0 Kudos
Message 5 of 5
(2,886 Views)