From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Error But Want Exit Code To Still Run

I have code that will uses the error in and error out cluster method of handling errors.  If there is an error I want my exit code to still run but it does not because the error cluster is wired to the exit code.  What is the best way to handle an error in the error cluster but still run the exit code?  Thanks!

0 Kudos
Message 1 of 3
(2,684 Views)

Hi testdesign,

 

just run your "exit" code independently from the "error in" state:

check.png

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 2 of 3
(2,682 Views)

Hi,

 

You could use the Clear Errors VI prior to calling the exit code:

 

Clean Errors Example.png

 

I hope this helps,

Charlie Rodway | Principal Software Engineer | Certified TestStand Architect (CTA)

Computer Controlled Solutions Ltd | NI Silver Alliance Partner | GDevCon#1 Sponsor

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