LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

host-target application for setting the PC(host) time to cRIO(target)

if there is any host-target application for setting the PC(host) time to cRIO(target)? if probably a sample program provided? 
0 Kudos
Message 1 of 3
(3,021 Views)

Hi Charles,

 

There's a function called RT Set Date and Time that you can make use of.

 

RT set date time.JPG

 

We don't have a sample program but this is a very simple VI to use. Read off the current date time in Windows, then enter the corresponding info into this VI and run it. The cRIO controller will then have its date time updated accordingly.

 

Regards,

Boon Chen 

0 Kudos
Message 2 of 3
(2,993 Views)

Charles,

 

See this article if you need sub second accuracy

 

http://zone.ni.com/devzone/cda/epd/p/id/5846

 

If you want to synchronize automatically, you could use SNTP and either run a server on the host or sync both host and target to the same time server.

 

Sebastian

0 Kudos
Message 3 of 3
(2,978 Views)