NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Results.TS.StartTime

Hi,
TestStand stores the time at which each step is started in Step.Results.TS.StartTime (which is then copied to Local.ResultList). However this is given as the time in seconds since the TS engine initialized. How can I convert this into a time string?
jackson
0 Kudos
Message 1 of 3
(3,104 Views)
Hi,
I cannot find the variable you're refering to.
The time in seconds that's logged to the Locals.ResultList is as you say from when the TS Engine was initialised, so the easiest way I can think of to get the actual start time is to make a call similar to :

Time(false, 0,0,0,0,Locals.ResultList[0].TS.StartTime, true)


The last parameter to the call of true sets it relevant to the time the engine was initialised.

Hope that helps

S.

// it takes almost no time to rate an answer Smiley Wink
Message 2 of 3
(3,104 Views)

Hello ,

 I use this to time stamp every step results. What Odd is they appear to be 10 seconds sooner than the window local time which given by the time(), Date() function.  What is wrong with the teststand timer

Tphan

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