NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

In Parallel mode how do I modify total test time?

I am running the standard parallel process model with my sequence that runs a max of two uut's. Because I have some shared equipment I have placed a "LOCK" function, however, my issue is that the first socket finished shows the correct time and the second socket shows two times the amount of time. I understand this is do to the run time of the first socket (which the second sockets waits on) and the second socket run time. My question is how can I modify the Total run time so that both sockets show the actual run time. For example, the way it works now is test time on socket one was 3:00 minutes and test time on socket two would show 6:00 minutes, I want it to show 3:00 minutes on both socket one and socket two.

0 Kudos
Message 1 of 4
(3,241 Views)

Hi Guinnessman,

 

Why are you trying to modify that property? 

 

You would have to modify a TestStand API parameter with your data, overriding the pre-definied values. In this situation you would have to look at modifying Parameters.MainSequenceResult.TS.TotalTime to show you the total time the socket ran as opposed to the total execution time. 

 

 

0 Kudos
Message 2 of 4
(3,183 Views)

I am looking to modify this to show that the actual test time for each socket is "X". If one shows say 45 seconds and the next is 90 seconds I dont get a true run time of the test per unit. 

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

Hi Guinessman,

 

What version of TestStand are you using? If you are TestStand 2014, you can call the model callback, post UUT, and modify the parameter - 

Parameters.TestSocket.MainSequenceResults.TS.TotalTime to have the definition that you are looking for! 

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