NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Get name of step's sequence

Hi all,

 

I have a test sequence which consists of a group of sub-sequences.  Each sub-sequence contains a set of steps which report results to my report file.  I've created a custom callback sequence (ModifyReportEntry) in order to modify the report body text for each step, but I'd like to include then name of the step's sequence in the report line for that step.

 

I'm guessing that this property is somewhere in the Parameters.Result.TS realm, but can't figure out what it is.  (Using TS 4.1)


Can someone help me out?

 

Thanks!

 

Jeff

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

Jeff,

 

general infos on how reporting works and how to customize can be found here.

 

A hint: The ResultList  contains all information you need if talking about subsequences (since it uses "Sequence Call" steps!)

 

hope this helps,

Norbert 

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

Jeff,

 

You can use RunState.Caller.Parameters.SequenceName from your "ModifyReportEntry" Sequence File Callback. So the Statement expression would look something like Parameters.ReportEntry += "<tr><td>Sequence Name</td><td>"+RunState.Caller.Parameters.SequenceName+"</td></tr>"

Richard S -- National Instruments -- (former) Applications Engineer -- Data Acquisition with TestStand
0 Kudos
Message 3 of 3
(3,088 Views)