10-18-2007 08:29 AM
10-18-2007 10:27 AM
Hey Roons,
I assume that you are going to Execute>>Run Selected Steps Using>>Single Pass. Is this correct? Or are you just doing Execute>>Run Selected Step? So then you edited your Single Pass entry point to get the serial number? The only thing I can think of is that you are not recording results for that step. If you right click the step and go to properties and then click on the Run Options tab you should see a checkbox called Record Results. That needs to be checked in order to get a body or "result entry" for that step in the report.
If it's a test step (i.e. Pass/Fail, Numeric Limit, Multiple Numeric Limit, String Value test) then it should have that checkbox already checked. Other steps do not.
Hope that helps some. Let me know if I understand the problem correctly,
10-18-2007 10:46 AM - edited 10-18-2007 10:46 AM
Message Edited by Roons1159 on 10-18-2007 10:46 AM
10-18-2007 11:18 AM
10-18-2007 12:50 PM
Here was my first problem
------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Problem:
I always execute my test sequences with Execute»Single Pass. I would like to be able to have a serial number entered for each UUT tested and have this serial number included in the report as if TestUUTs had been executed. How can I implement this?
Solution:
Only one property needs to be set for a serial number to be attached to the test and included in the report. This property is of string type and has the following lookup string:RunState.Root.Locals.UUT.SerialNumber
An easy way to allow a test operator to enter a serial number is to use a Message Popup step:
RunState.Root.Locals.UUT.SerialNumber = Step.Result.Response
Now, the text entered into the Message Popup will be used for the serial number. To have this behavior limited to one sequence, the Message Popup step can be placed in the MainSequence of the sequence file.
If this behavior is desired for any sequence executed with Single Pass on the station, this Message Popup step can be placed in a Single Pass sequence of the Process Model sequence file, SequentialModel.seq for example. Before modifying a sequence in the Process Model, copy the sequence file from
<TestStand>\Components\NI\Models\TestStandModels
to
<TestStand>\Components\User\Models\TestStandModels
Once the Process Model sequence file is copied, the Message Popup step can be added to the appropriate sequence. Add the step so that it is executed before the MainSequence Callback.
For more on customizing Process Models, refer to Chapter 10 of the TestStand Reference Manual. This manual is available from TestStand Sequence Editor»Help»Search the TestStand Bookshelf»TestStand Reference Manual or from the link below.
------------------------------------------------------------------------------------------------------------------------------------------------------------------------
YOU ARE RIGHT, IT WORKS WHEN YOU SELECT SINGLE STEP USING SINGLE PASS... HOWEVER IF I DO WHAT THESE INSTRUCTIONS TELL ME TO DO FOR GETTING THE SERIAL NUMBER IN THE SEQUENCE, THE PROBLEM I MENTIONED ABOUT NO BODY IN THE UUT REPORT BECOMES PRESENT.
10-18-2007 01:01 PM
10-18-2007 02:07 PM - edited 10-18-2007 02:07 PM
Does it work if you change your Test UUT entry point to allow interactive execution (i.e. open the process model, go to all sequences, right click Test UUTs>>Properties, click the models tab and check allow interactive executioin)? This will also get your serial number and generate the report.
The reason I suggest this is because I wonder if the issue is caused by the code you added in the singlepass to get the serial number.
Regards,
Message Edited by ~jiggawax~ on 10-18-2007 02:09 PM
10-18-2007 03:28 PM