NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Can the teststand report generation sequences be called from the UUT test sequence?

I want to output the report file at intervals in a thermal test. Is it practical to create a sequence call that will output to a report file all the data acquired until that point? I can see how this could be done using the on-the-fly report generation, but I would like to avoid the overhead of processing the results as steps are executing. I looked at calling the report generation sequences from inside my main sequence but could not determine how to access all the data required for the parameters of those sequences.
0 Kudos
Message 1 of 2
(2,883 Views)
For a ready to run solution the on-the-fly reports example is probably your best bet, even though it seems like you are creating alot of overhead on the surface. If you don't want this then you will have to come up with a new report generation plan that possibly includes a condition to see if enough step results have been generated before actually logging to the report.

You could accomplish that by modifying the process model (in the same fashion as the on-the-fly reports example suggests) so that in the ProcessModelPostResultEntry callback you just check to see if the desired number of results is available before actually performing the logging operation. You could just use the size of the resultlist array as the indicator that a specific number of results has
been collected. This method would require very little modification of the on-the-fly reports example to just include this type of conditional logging.

Jason F.
Applications Engineer
National Instruments
www.ni.com/ask
0 Kudos
Message 2 of 2
(2,883 Views)