Real-Time Measurement and Control

cancel
Showing results for 
Search instead for 
Did you mean: 

myRIO

Solved!
Go to solution

Hello

Each time the power of my myRIO system is lost, the system time is lost too and is set to a value in the past.

How can I set the system time to the proper value, not using MAX.

 

my LabVIEW program stores information at the disc which includes the system time.

At the start of the program I can compare this time with the actual system time and when the actual system time is less as the latest stored time I want to set the system time to a new value.

When the power was lost, this happens.

 

0 Kudos
Message 1 of 6
(3,076 Views)

Because myRIO doesn't have internal battery, it cannot store the system time.

You can configure it from LabVIEW or ntp as below.

How to Set the Time Zone of a Real-Time Controller - National Instruments 

resolved: myRIO time resets to system default starting time after reboot - NI Community 

Certified LabVIEW Developer
There are only two ways to tell somebody thanks: Kudos and Marked Solutions

GCentral
Message 2 of 6
(3,004 Views)

thanks.

this was exactly the solution I was looking for.

0 Kudos
Message 3 of 6
(2,981 Views)
Solution
Accepted by topic author C.vanLeuken

welcome. please make my post "solution".

Certified LabVIEW Developer
There are only two ways to tell somebody thanks: Kudos and Marked Solutions

GCentral
Message 4 of 6
(2,967 Views)

Why did I get an error when I applied this program to change myRIO time? May I ask where I made a mistake? Can you tell me about your procedure

0 Kudos
Message 5 of 6
(1,945 Views)

Using System API I cannot change the system time of my remote target (CVS, cRIO, sbRIO, IC)

 

I searched on google "2147467263 labview" and find above KB.

The KB said "you need to log in to the system with a user who has SetSystemConfiguration as permission group."

Please check the configuration on your side.

Certified LabVIEW Developer
There are only two ways to tell somebody thanks: Kudos and Marked Solutions

GCentral
0 Kudos
Message 6 of 6
(1,937 Views)