NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

TestStand Errorlogging

Hello,
I'm making an errorlogging in TestStand by adding the StationPostStepRuntimeError in the StationCallbacks.seq. Everytime there is an error it will call this callback, however I can't find the property containing the error message and code. Does anybody know how or where I can find this property?

Thanks in advance,
Mark
Mark Vorage
Vision Engineer

Philips Technologie GmbH

View Mark Vorage's profile on LinkedIn
0 Kudos
Message 1 of 3
(3,365 Views)
Hi,

The Error message and code can be found in Parameters.Step.Result.Error.Msg and .Code

Regards
Ray Farmer
Regards
Ray Farmer
0 Kudos
Message 2 of 3
(3,365 Views)
Hi,

I have attached an example based on the one provided by NI with the TestStand Installation, C:\TestStand\Examples\Callbacks\PostStepRuntimeErrorCallback\ErrorHandlerExample.seq

Instead of using the SequenceFilePostStepRuntimeError callback, I have placed the code in the StationCallback.seq StationPostStepRuntimeError callback.

Hope it helps.
Regards
Ray Farmer
Regards
Ray Farmer
Download All
Message 3 of 3
(3,365 Views)