NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Log step in PreUUT

Solved!
Go to solution

I try to log data in PreUUT seq.

Even if i mark it in additional data pane, i don't see it in the report.

How should i do it ?

0 Kudos
Message 1 of 4
(4,126 Views)
Solution
Accepted by topic author NikolajEgeskovOstergaard

Hi,

 

Reporting is a feature of the model.

Normally only the ResultList from MainSeqeunce is generated to the ReportFile.

 

That means if your stuff if in PreUUT must be reported to the UUT file you have to modify your model.

Depending on your requirements there a lot of possibities to do that.

 

A simple one that worked for me for specific SequenceFiles (Note: not for all ! ) :

Copy PreUUT's ResultList to a FileGlobals ATFER it has been performed by EntryPointSequence.

Add a Statement to your MainSequnce where you add the List from RunState.Root.FileGlobals. as element to Locals.ResultList 

 

Thats all

 

Juergen  

 

--Signature--
Sessions NI-Week 2017 2016
Feedback or kudos are welcome
0 Kudos
Message 2 of 4
(4,118 Views)

Ok - that should work.

Does that mean the process model "ignores" the "LOG" flag in the module definition when i'm in PreUUT ?

At least i can't see any changes when togling then flag.

 

 

 

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

Hi,

 

it depends on your model.

Typically, in default Sequential Model that comes with TS, only stuff from/inside MainSequence

will be reported to file.

 

Regards

 

Juergen

 

 

 

--Signature--
Sessions NI-Week 2017 2016
Feedback or kudos are welcome
0 Kudos
Message 4 of 4
(4,065 Views)