System Time of myRIO Resets When Powered Off

Updated Jun 11, 2024

Reported In

Hardware

  • myRIO-1900
  • myRIO-1950

Issue Details

I have a myRIO-1900 or myRIO-1950, and when I power it off, the system clock gets reset to "System Start Time," which is displayed in NI MAX under Remote Systems > myRIO. This does not happen with Single-Board RIO devices or CompactRIO devices. How can I get myRIO to retain the system time after the device is powered off?

Solution

Unfortunately, myRIO-1900 and myRIO-1950 does not have a button battery installed in its board, so the Real-Time Clock (RTC) cannot stay working after it is powered off. The clock will reset to "System Start Time," which is saved within myRIO, and next time it is powered on, the clock will start ticking from this time. 

In order to retain the accurate time when myRIO is turned on, you may either:
  • Ensure that the power is always provided to myRIO so that RTC continues to operate
  • Install an external RTC that can be communicated via SPI/I2C bus on myRIO, and power the RTC with an external button cell
  • If internet connection is available, use an NTP server to adjust the system time when myRIO is powered on.

Additional Information

In order to overwrite the System Start Time in myRIO, take the following steps:
  1. Connect myRIO to PC and open NI MAX
  2. Under Remote Systems, find your myRIO and go to "Time Settings" Tab
  3. Change the time and date to what it should be
  4. Click "Save" button
  5. Click "Restart" button to save the System Start Time into myRIO