NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Convert runtime error to failure

I am using the ProcessModelPostStepRuntimeError model callback to handle any errors in my system. Some of the errors that occur are actually caused by a faulty UUT and I would like then to be reported as a failure and not an error. Is there an easy way to convert a step error into a step failure while still adding the error code/message to the report text?

 

Thanks,

Toby

0 Kudos
Message 1 of 3
(3,324 Views)

Here's what I have come up with so far...this seems to work OK but seems pretty messy. Any suggestions, improvements, etc?

 

Message Edited by TobyD on 11-09-2009 01:16 PM
0 Kudos
Message 2 of 3
(3,317 Views)

Toby,

 

as far as can see this is quite a good solution. In fact, its one i would recommend.

 

Norbert 

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