Time Zone is Reset to Another Region

Updated Jan 29, 2022

Reported In

Hardware

  • PXI Controller
  • CompactRIO Controller
  • CompactDAQ Controller

Software

  • Measurement & Automation Explorer (MAX)

Issue Details

When I select the Time Zone of a remote system such as cRIO or PXI controller using NI MAX, the Time Zone selected is reset to another region. For example, I select the Time Zone to (GMT +9) Korea, Yakutsk. After click “Save”, the Time Zone is reset to (GMT +9) Japan. How to prevent this situation?
 

Solution

This issue could be resolved by checking the “Automatically adjust clock for Daylight Saving Time” selection.

time zone.png

Additional Information

When the “Automatically adjust clock for Daylight Saving Time” selection is not checked, the time zone is recognized in Etc/GMT-X format. Therefore, when time zone's region selected is not the default time zone's region of Etc/GMT-X format, it will automatically change it with the same time zone. 

Meanwhile, when the “Automatically adjust clock for Daylight Saving Time” selection is checked, the time zone is recognized according to the region, e.g., “Asia/Hong_Kong”. Therefore, the time zone's region is fixed.

The difference of checking and unchecking the selection could be seen from the ni-rt.ini file created through the NI MAX report of the remote system.

The time zone format in ni-rt.ini when checking
Figure 1: The Time Zone Format in ni-rt.ini when "Automatically adjust clock for Daylight Saving Time" is checked.

ni-rt.pngFigure 2: The Time Zone Format in ni-rt.ini when "Automatically adjust clock for Daylight Saving Time" is unchecked.