NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Determine Calling StepType

I am trying to get test result values, evaluation criteria, etc. in a sequencefilepoststep sequence in order to build fail tickets for my printer.  Unfortunately, if I attempt to get results.passfail, results.numeric, or results.string type information from a step which does not provide that information errors are generated that interfere with operation.  How can I identify the calling step type so that I can only call relevant information (or is there a better way to do this)?
 
Thanks,
Sean
0 Kudos
Message 1 of 4
(3,161 Views)
As a precondition for the step, you could use the PropertyExists function. For example, PropertyExists ( Parameters.Result.Numeric). Look at the shipping example called Failure Handler Example for how it's done with a SequencFilePostStepFailure callback.
0 Kudos
Message 2 of 4
(3,157 Views)

Dennis,

Can you provide a link to this example?  I have not been able to find it. 

Thanks,
Sean

0 Kudos
Message 3 of 4
(3,147 Views)
<TestStand>\Examples\Callbacks\PostStepFailureCallback
0 Kudos
Message 4 of 4
(3,143 Views)