NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

How do I configure a report

Hello All,
      I am new to Teststand and have some labview experience. I am developing a large number of mostly small tests for a device. I will be writing these individual tests in Labview and Teststand seems the ideal tool for controlling execution of these tests.
 
I have created a few tests now and placed them into a Teststand sequence. I can run the sequence but dont have control over how Teststand decides what is a pass or fail in it's Log file.
 
I would also like to pass certain result parameters during the test to the log ( results ) file.
 
I have found the :
C:\Program Files\National Instruments\LabVIEW 8.0\vi.lib\addons\TestStand\_TSUtility.llb
library which provides a way to pass text for example to the Teststand report file. Although this was done after the vi had finished using a Pass/Fail test.
 
Ideally I would like to find labview code to pass results to the log file as it occurs in the vi, not wait till that vi has completed before sending the data using a Pass/Fail test step.
 
Maybe I missed some issues while working through the Teststand basics text, is there some documentation that explains how to carry out this type of activity?
 
Many thanks in advance.
 
Regards Chris
0 Kudos
Message 1 of 4
(3,277 Views)

Hi,

You would need to use Reports On-the-Fly .  There is an example of this in the TestStand examples folder plus information in the TestStand User Manual.

Regards

Ray Farmer

Regards
Ray Farmer
Message 2 of 4
(3,272 Views)

Hello Ray,

    I can see

• PropFlags_IncludeInReport

• PropFlags_IsLimit

• PropFlags_IsMeasurementValue

mentioned in Teststand reference manual but not at all sure what these are/how to use, but they seem to indicate they could be usefull when trying to drop specific text/values etc in to the test file. I noticed the on the fly feature doesnt change the final report whether set or not , according to the manual. If set to fly on the wall, does it provides the function of allowing the process variables, created midway through the vi to be slipped in?

Could you mention the name of the "Report on the fly" in the examples, please.

If you know of a abc.seq file that shows just one value from a vi being passed to a report file I would be gratefull.

 

Regards  Chris

0 Kudos
Message 3 of 4
(3,270 Views)

Hi,

this example may help with regards to adding data to the ResultList.

http://sine.ni.com/apps/we/niepd_web_display.display_epd4?p_guid=B45EACE3DEA356A4E034080020E74861&p_...

 

For 'on the Fly', if you are using TestStand 3.x, there should be an example suitable title TestStand\Examples.

For the following:

• PropFlags_IncludeInReport

• PropFlags_IsLimit

• PropFlags_IsMeasurementValue

These properties you generally don't need to worry about, if you are using the default Step Types.

Regards

Ray Farmer

Regards
Ray Farmer
Message 4 of 4
(3,266 Views)