NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

modifying UUT display and report

i want to modify some elements in the UUT mode:
 
A. I would like the UUT test run only once without the dialog box message popping.
B. I want to pass the serial number directly from the sequence (and will be shown in the xml report)
 
Thanks
 
yair
0 Kudos
Message 1 of 6
(3,702 Views)
hi yairn,
 
You will have to modify the Sequence "Test UUTs" in the actual process model "SequentialModel.seq" to achieve this.
There is a step in the main of "Test UUTs" that sends you back to where you enter the UUT serial number. You will need to skip this so that it carries on to PostUUTLoop step.
 
Depending if you want all your sequence file to perform in this manner for all project.  You can either
a) Modify the Default Test UUTs in SequentialModel.seq and place your modify version in TestStand\Components\User\Models\TestStandModels
or if you wish to retain the default process model
b) Create a New SequentialMadel.seq based the Default SequentialModel.seq, changing the filename to match your requirement. Modified the required sequences and place the new sequence file in TestStand\Components\User\Models\TestStandModels. Then set this new sequence file as your Process Model in the properties of your test SequenceFiles. (See chapter 10 of the TestStand Reference Manual - Specifying a Specific Process Model for a Sequence File).
 
You can get the serial number from the lookup string "RunState.Root.Locals.UUT.SerialNumber".
 
Hope is is of help
Regards
Ray Farmer
 
Regards
Ray Farmer
0 Kudos
Message 2 of 6
(3,695 Views)

Hi ray,

Thanks for the quick response.

I managed to reduce the number of the UUT loops to 1 as you suggested.

however, I did not understand how can I pass the serial number from a sequence to the report without entering it in the dialog box?

Thanks

 Yair

0 Kudos
Message 3 of 6
(3,693 Views)

Hi yairn,

How are you entering the serial number, are you still using the standard dialog provided in the PreUUT callback?

Regards

Ray Farmer

Regards
Ray Farmer
0 Kudos
Message 4 of 6
(3,691 Views)

Hi Ray

i managed to do that with the pre UUT callback in my sequence. it works great.

another thing i would like to do is to remove the "number of results" line in the report header. do i need to modify only the xsl file (how??), or need callbacks too?

thanks

Yair

0 Kudos
Message 5 of 6
(3,689 Views)

Hi,

I believe you will have to modify the style sheet "report.xsl" or use another style sheet based on report.xsl and modify the report options to point to your new style sheet.

Hope this helps

Ray Farmer

Regards
Ray Farmer
0 Kudos
Message 6 of 6
(3,684 Views)