01-20-2009 02:15 AM
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
01-20-2009 03:00 AM
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.
Aurélien J.
National Instruments France
01-20-2009 03:29 AM
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
01-20-2009 11:16 PM
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