LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

get date time string in RT

I can't help you with NI-Timesync, I've never used it. I've used SNTP before, and that is pretty easy. There are a few intructions that work well. The trickiest part is to install a local SNTP server, I've used Meinberg NTP server. It also works as SNTP server, and is free and well documented.

Message 11 of 14
(606 Views)

When you used MAX to set the date and time, were you applying the correct Time Zone?

 

Thoric (CLA, CLED, CTD and LabVIEW Champion)


0 Kudos
Message 12 of 14
(601 Views)

Actually I meant to say time stamp in both system is same but get date and time string fucntion gives a wrong string. 

 

Let me clear on this,

when RT time stamp is 10:10:20 AM and I apply it to get date time string it gives 04:10:20 AM.

when Host time stamp is 10:10:20 AM and I apply it to get date time string it gives exact 10:10:20 AM.

 

So I Guess problem is not with syncronisation.

CLAD
Passionate for LabVIEW
 
That really sounds like a timezone disagreement.  If you run something like this on both platforms it might be easier to figure out.  The (-04:00:00 Eastern...) is added in the Advanced Editing properties of the time indicator, %z and %Z respectively.  Hope that helps.
 
 
Matt
 ScreenHunter_02 Jun. 06 12.03.jpg
0 Kudos
Message 13 of 14
(589 Views)

Actually the trouble is with max. The open


@Thoric wrote:

When you used MAX to set the date and time, were you applying the correct Time Zone?

 


Actually trouble is with max. Time date setting window is not opening into my max. 

CLAD
Passionate for LabVIEW
0 Kudos
Message 14 of 14
(574 Views)