LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Synchronising with the GMT time or the time over internet

 Hi,

I'm performing some real time simulations and want to synchronize my data samples using some universal time like GMT time or time from internetm since I'm receiving data from various sources on real time. Thus to time stamp my data I need something which can provide me GMT time at the instance of sampling or time taken from internet or any other feasible solution. Unfortunately I don't have a GPS module or else I would have used it.

Could anyone provide me with an example for measuring of universal time. 

I'm working on LabVIEW 8.2 and and using DAQ 6024E card for gathering of data.

Looking forward to ehar form you a  solution

With Regards,

rohit

0 Kudos
Message 1 of 4
(3,026 Views)

Hi,

 

 You can use the command line: "net time /setsntp:pool.ntp.org" on windows system.

 

If you want to read the time over internet, you can look  http://en.wikipedia.org/wiki/Network_Time_Protocol

 

Regards.

0 Kudos
Message 2 of 4
(3,018 Views)

Hi,

 

You can set Windows XP to synchronize your system time periodically to some ntp time server. It is easy, just change few values in Windows register. (Instructions can be found here: http://www.timetools.co.uk/support/windows-xp-ntp-server.htm).

Then, just use your system's  time to timestamp data.

 

You can also write your own VI that takes time from an ntp server using udp, but that needs knowledge about ntp servers and udp transmission.

 

Regards

Andrzej

0 Kudos
Message 3 of 4
(3,011 Views)

Hi,

    You can use the NTP timing protocol for your purpose. I am providing you the link to a document on how it is done using LabVIEW.

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

 

I hope this should solve your query.

 

Regards

Anuj Bhansali

NI INDIA

0 Kudos
Message 4 of 4
(2,976 Views)