ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Error Handling: VI response to any error

Solved!
Go to solution

Hey guys,

I need to make sure a piece of code executes whenever there is any error in the VI. I'm pretty new to Labview, and cannot wrap my head around "extracting" the errors, so I can pass them into an error handler... All I want, is for my code to find out that there is an error, take some action, and then stop execution.

 

Any help is greatly appreciated, thanks!

0 Kudos
Message 1 of 3
(2,525 Views)
Solution
Accepted by topic author Uriel_Ventris

You simply wire the error wire to the selector of a case structure. Click on file/new/from template/frameworks/SubVI with Error Handling

=====================
LabVIEW 2012


0 Kudos
Message 2 of 3
(2,520 Views)

Thanks a lot, this works great!

0 Kudos
Message 3 of 3
(2,515 Views)