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.

NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

implement custom error code in teststand

my labview vi returns an error code

 

& on that basis can i generate an  eror  message  

 

these error messages are to be read from a file like in labview (error codes)

 

I dont want to code the individual step to show that error message.

 

if its handled  subtly at a  higher level  tht wld be gr8

0 Kudos
Message 1 of 4
(4,460 Views)

You can use a simple way to address this.

Insert the "General Error Handler" in your VI. If you don't want the VI to display the error dialog on its own, pass "no dialog" as "type of dialog" option to General Error Handler.

Pass the "message" you receive from General Error Handler to TS as errormessage.

 

Norbert

Norbert
----------------------------------------------------------------------------------------------------
CEO: What exactly is stopping us from doing this?
Expert: Geometry
Marketing Manager: Just ignore it.
0 Kudos
Message 2 of 4
(4,457 Views)

have tht already implemented

 

but does teststand   provide any such   quick trick

 

 

0 Kudos
Message 3 of 4
(4,447 Views)

No

 

At least, i am not aware of something like this.


Norbert

Norbert
----------------------------------------------------------------------------------------------------
CEO: What exactly is stopping us from doing this?
Expert: Geometry
Marketing Manager: Just ignore it.
0 Kudos
Message 4 of 4
(4,443 Views)