06-05-2016 01:52 PM
06-05-2016 03:27 PM
You do not need a website for this. First you can get the actual time zone of the PC where your app is running:
http://digital.ni.com/public.nsf/allkb/431FCE1528C66AE086256E7B007919C2
India has a time zone of UTC+5:30, so it is simple math to get the actual time in India in your LabVIEW app...
06-05-2016 09:15 PM
06-05-2016 10:24 PM
Hello,
Thank you.
I do not want to read computer's time where my VI is running. The time on the device under test should be compared with standard time. Computer's clock may have it's own drift. So I was thinking of accessing website and reading time. How can I do this.
Thanks
06-05-2016 10:29 PM
What's "Standard Time?"
I guess you could get your time from an NTP server.
06-05-2016 10:46 PM
Hello,
Is there a program to read from the time from NTPserver. I saw one VI. I did not get the actual IP address and port number of India NTP server. Please let me know. Thanks
06-05-2016 11:22 PM - edited 06-05-2016 11:44 PM
@Hemagopal wrote:Hello,
Thank you.
I do not want to read computer's time where my VI is running. The time on the device under test should be compared with standard time. Computer's clock may have it's own drift. So I was thinking of accessing website and reading time. How can I do this.
Thanks
I do not understand your logic here. You say you do not want to get your computer's time, since it "may have it's own drift". You say you want to get the time on the device under test (any more info about this device?). How could a website give you the "actual time of a device under test"? If your PC's time is properly set, it should be totally enough...
Edit: If you wanna go the network way, here is a solution from altenbach:
and a NIST server list:
06-06-2016 12:42 AM