NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

retrieve module time

I use TestStand 3.0.
I want to retrieve the module time and the execution time and copy it in my Excel report.

Thanks
Lucie
0 Kudos
Message 1 of 6
(3,940 Views)
Hi,

For getting the module time and execution time you have to overwrite the ModifyReportHeader Callback.

And to write these values on a seperate excel sheet you can write a application on either CVI or LabView and then call these from TestStand.

For overwritting callback refer to following question :-

http://forums.ni.com/ni/board/message?board.id=330&message.id=5563#M5563

Regards,
Anuradha
0 Kudos
Message 2 of 6
(3,938 Views)
Hi,

Under Edit Menu option, I added a ModifyReportHeaderCallback. I have now a new sequence in my project and I added a message popup in that sequence. I also place a stop before this popup. When I run the application, I looked in the parameters variable and did'nt find Module Time and execution Time. Could you help me to find that information?
0 Kudos
Message 3 of 6
(3,922 Views)
Hi Lucie,

I am not sure if this is the shortest way to do this, but during excution when you see the context tab of parameters.ReportHeader variable of ModifyReportHeader sequence, you have all the data you need. Now as it's not available dirctly(it's a string which contains other report formatting stuff also), you have to put extra code in your application to extract the exact data you need and then open an excel file and write into it.

I am also attaching a picture of variable value during execution.

I hope this will temporarily solve your problem.

Regards,
Anuradha
0 Kudos
Message 4 of 6
(3,916 Views)
Anuradha,

Good, this exactly the information I want to have for the execution time. Thanks.


Do you know how or is it possible to retrieve Module time for each sous sequence?

Regards
Lucie
0 Kudos
Message 5 of 6
(3,896 Views)
What do you mean by "sous sequence"? If you are wondering how long it took a step to take a step to execute that can be found in ResultsList->[X]->TS->Total Time. If this is not what you wanted to know or need more assistance please don't hesistate to ask.


Allan S.
National Instruments
0 Kudos
Message 6 of 6
(3,880 Views)