Quantcast
Channel: NI TestStand topics
Viewing all articles
Browse latest Browse all 6524

Relocating report file path at runtime

$
0
0

Hi all,

 

I'm using parallelmodel to test DUT in parallel.

In the PreMainSequence, I connect to the DUT in order to ask its SN and PN.

And I set these 2 parameters in this sequence by : 

RunState.Root.Parameters.ModelData.TestSockets[RunState.TestSockets.MyIndex].UUT.SerialNumber = Locals.SerialNumber

RunState.Root.Parameters.ModelData.TestSockets[RunState.TestSockets.MyIndex].UUT.PartNumber = Locals.PartNumber

 

I'd like to store report file in the directory Root\PN\SN\Report.xml

for that, I setup XML report model with : 

Root\\$(UUTPartNum)\\$(UUT)\\Report[$(FileTime)][$(FileDate)]$(Unique).$(FileExtension)"

 

When I test, the report file is stored in : 

Root\Empty_UUT_PartNum\Empty_UUT_SerialNo\Report[16 13 44][29 11 2018].xml

 

So it means that PN/SN settings has been made too late.

 

How can I proceed, please?

If possible, without modifying ReportModel

 

Thanks for your help.


Viewing all articles
Browse latest Browse all 6524

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>