NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

clear report in report window of simple operator interface

Hello,
hello I want to clear the report-window of the simple operator interface at the beginning of each UUT test.
I want that there is nothing inside this window while testing a UUT. Only at the end of a test I want to show the actual report
How is this possible?
regards samuel
0 Kudos
Message 1 of 11
(4,984 Views)

Try placing an API call to Report.Reset inside the UUT Loop of the Process Model you are using.  The Sequential Proces Model has this call at the top on the Test UUTs Execution Entry Point, you could move it or copy it.

Regards

Steve

 

There are 10 types of people in the world that understand binary, those that do and those that don't.
0 Kudos
Message 2 of 11
(4,972 Views)
Steve,
How can I go to Test UUTs Execution Entry Point
regards samuel
0 Kudos
Message 3 of 11
(4,969 Views)

Using the TS Sequence Editor open your Sequence File and make sure it is the selected sequence.  In the bottom right hand corner of the Sequence Editor there will be a box that is filled with a path that starts 'Model:' (if this box says 'Model: None' let me know).  Double click on this box and another sequence will be displayed, this sequence is the process model selected for your Sequence File.

At the top of the newly displayed sequence you can select 'Test UUTs' from the View Drop Down List.  Test UUTs is the sequence that is called when you select Test UUTs from the Execute Menu of the Sequence Editor.

Hope this helps

Steve

There are 10 types of people in the world that understand binary, those that do and those that don't.
Message 4 of 11
(4,967 Views)
Thank you steve,
I have copied the clear Report step  to my PreUUT, but this step doesn´t clear the report.
what can be the problem?
regards
Samuel
0 Kudos
Message 5 of 11
(4,963 Views)

Report.Reset should replace the current report data with the data in the string you specify, which in your case should be blank.

Do you have a PreUUT Sequence in your Client Sequence File?

If not try adding the first step in the attached sequence below the Report.Reset step in your PreUUT sequence.  You may need to add the second step as well (below both new steps).  Not sure if the second step is required.  The first step tells the teststand engine that the report has changed, the second tells it to refresh all windows.

Regards

Steve

There are 10 types of people in the world that understand binary, those that do and those that don't.
Message 6 of 11
(4,964 Views)

Steve,

I have entered the two steps after the Report.Reset step in the PreUUT, but it doesn reset the report. I have the old report in the box of the Operator Interface

regrads samuel

 

0 Kudos
Message 7 of 11
(4,958 Views)
Then Im stumped, maybe you should speak to someone who knows what they are talking about
 
Sorry
 
Steve
There are 10 types of people in the world that understand binary, those that do and those that don't.
0 Kudos
Message 8 of 11
(4,955 Views)

Hi

What is the report format of your report and what are your report options?

Anand Jain

National Instruments

 

0 Kudos
Message 9 of 11
(4,950 Views)
Hello,
The report format is xml.
For report options pease have a look at the attached zip file
regards samuel
0 Kudos
Message 10 of 11
(4,936 Views)