Hi,
I am using Teststand 4.2
If the TestStand Engine is running before Daylight Saving Time occurs, the Time() function doesn't return the time adjustment when Daylight Saving does occur.
If the TestStand Engine is started after Daylight Saving Time has occurred, the the time() function does return the time adjustment.
eg
If TestStand is running before DayLight Saving Time: Time(False, Locals.utc_hours,0,0,0,0,False) will return locals.utc_hour = 0
where as if TestStand started after Daylight Saving Time had occurred: Time(False, Locals.utc_hours,0,0,0,0,False) will return locals.utc_hour = 1
This means if you have a system that is running for long periods and Daylight Saving Time occurs during this runtime, the correct Time will not be obtained.
I haven't tried where DST switches back to UTC (GMT) but I'm guessing the same situation will occur.
Note: the link below suggest that a fix was made and implemented after TestStand 3.5 to stop the Pop up message regarding DST.
http://forums.ni.com/t5/NI-TestStand/Avoid-Teststand-popup-on-DST-switch/m-p/798796#M21776
Regards
Ray Farmer
