Real-Time Measurement and Control

cancel
Showing results for 
Search instead for 
Did you mean: 

SNTP on a 9076 cRIO

I am not sure how to get the timestamp on the crio to match the current time. I have searched all over the forums and web for a solution and cannot find any. I have followed the suggested method of the time syncronization from the manual and the system still does not work. If someone could help me it would be great, i am using the Labview 2015 and have attached a sceenshot of my VI and my ni-rt.ini file just to verify that i have the setting of the .ini file correct. Also i am open to other methods just as long as the time stamp on the crio stays close to the current time, the precision is not that big of a deal in this case.

Thanks in advance,

Mike

Download All
0 Kudos
Message 1 of 5
(4,067 Views)

Hey Ultrawolf,

 

The LabVIEW Real Time Module has some nifty real time timing VIs that may help in this case.. 

 

Specifically, the "RT Set Date and Time.VI" which allows you to set a date and time on the real time target.  You could also use RT Get Timestamp VI to benchmark your code. You may have to play around with these to find something that is suitable for your application, but these should help!

 

Best of luck!

Eric
Applications Engineer
National Instruments
0 Kudos
Message 2 of 5
(4,052 Views)

Hey again, Ultrawolf,

 

I have to apologize as I believe I may have misunderstood the scope of the question.  After digging a little more, I found this article which should give you a good overview of the options you have for this application.  Hopefully, this should point you in the right direction.  Sorry about the delay!

Choosing a CompactRIO Synchronization Technology

http://www.ni.com/white-paper/52962/en/

 

Cheers!

Eric
Applications Engineer
National Instruments
0 Kudos
Message 3 of 5
(4,034 Views)

Hello Hazen_berg,

 

Thank you for the reply, i am going to try the link you sent me and if it works that would be great i have not tried this method yet so it might help. When i finish trying this method i will let you know.

 

Thanks,

Mike

0 Kudos
Message 4 of 5
(4,029 Views)

Sounds great!  Best of luck!

Eric
Applications Engineer
National Instruments
0 Kudos
Message 5 of 5
(4,012 Views)