NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Get 'batch ID' after 'Test UUT'

Solved!
Go to solution

Hello

 

I am usung the standard 'full feature' Testexec.exe as my user interface, and all is working fine.

But i need to get from the user a 'Batch ID' just once after the user presses the 'Test UUT' button (not once per UUT), and get this ID insterted into the test reports for all of the following UUT. Until a new test is started.

 

Where can i put the message box to get that behavior?

 

Paul

Labview 2010, TestStand 2010
0 Kudos
Message 1 of 7
(3,626 Views)

Which process model are you using?

Rodéric L
Certified LabVIEW Architect
0 Kudos
Message 2 of 7
(3,625 Views)

I'm using the 'SequentialModel.seq'

Labview 2010, TestStand 2010
0 Kudos
Message 3 of 7
(3,622 Views)

You'll have to customize the sequential process model or switch to the batch process model

 

You can had a popup message to select the number of UUTs then loop on the sequentialModel.seq in your custom process model

Rodéric L
Certified LabVIEW Architect
0 Kudos
Message 4 of 7
(3,619 Views)
Solution
Accepted by topic author Hoss183

Actually it was simpler than that. One of my collegues helped me out.

I just had to add a message popup into the 'PreUUTLoop'

Labview 2010, TestStand 2010
0 Kudos
Message 5 of 7
(3,616 Views)

Hmm my problems continue.

 

So i have used a 'message popup' step in the PreUUTLoop, and that works as required. I have used a text rersponse box, and that should put the user text into 'Step.Result.Response'

I then tried adding a post-expression of "FileGlobals.UUT_Batch_ID=Step.Result.Response" but the text doesnt get passed into the Global variable for some reason.

I even tried a Statement step after with "FileGlobals.UUT_Batch_ID=RunState.PreviousStep.Result.Response" but that doesnt work either.

 

Any ideas?

Labview 2010, TestStand 2010
0 Kudos
Message 6 of 7
(3,611 Views)

Ok, solved that. Stupid error - The value was being overwritten by the "" vlaue that was imported from the property loader, which of course happens after the PreUUT.

Labview 2010, TestStand 2010
0 Kudos
Message 7 of 7
(3,609 Views)