NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Collating and Comparing Execution Profiles

Solved!
Go to solution

Hi All,

 

Is there a tool to collate and compare the execution profiles captured via "TestStand Execution profiler"? I am running a sequence for 100 times and profiling its execution for every run. At the end I would like to see the total time taken for each of the execution (may be in a table or chart) and also the time taken for the Process Setup, Cleanup and Main sequence run in each of these 100 iterations. Otherwise I will have to manually open the 100 profiles and note down the time for each profile which is very tedious. Any suggestions?

Thanks,

Teena.

0 Kudos
Message 1 of 3
(2,086 Views)
Solution
Accepted by topic author teenahaldorai

The profiler does have a basic API you can use to control it. See the SequenceFileLoad sequence in <Examples>\Parallel Testing\Comparing Resource Usage Strategies\Comparing Resource Usage Strategies.seq.

 

You can programmatically load a profile and access the data from a specific table as a string by calling:

 

Load();

ActiveTable = <desired table>

SelectAll();

String myTableData = Copy();

 

The data can then be parsed or put in excel for further manipulation.

 

Message 2 of 3
(2,070 Views)

Thank you, the basic APIs really help!

0 Kudos
Message 3 of 3
(2,041 Views)