LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Why is the time wrong on my PXI8175RT controller?

Here's an odd question for you: can you think of any reason why the time in my log file is correct (follows my host computer time) but the data actually being displayed in a waveform chart is off by 5 hrs? I've checked the PXI bios time and it is correct. I've examined the data in the log file after grabbing it from the RT target using ftp and it is recording the right date/time. When I probe the data being collected by the AI Acquire Waveforms VI I notice that the time is incorrect. Why would there be a mismatch?
0 Kudos
Message 1 of 3
(2,603 Views)
By default the timezone is not configured. Set it with this VI.
0 Kudos
Message 2 of 3
(2,603 Views)
Hi Joe,

Bob P nailed it with the timezone setting.

LV will format the time based on the time zone of the platform it is running on. The actual values (seconds since 1904 GMT) stay the same but the conversion from seconds to time and date is dependent on where the machine thinks it is in the world.

Ben
Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 3 of 3
(2,603 Views)