Discussion Locked

Time synchronization

0 helpful
2 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

I have been looking at teh documentation for W32Time. This only appears to receive time signals via the internet. My client wishes to use an RS232 time signal to set system time.
Any suggestions as to how to do this would be appreciated.
David W GHarris
Alpha-Comp Consulting Engineers Ltd.

2 replies

by ebob

Your client is asking to run a time protocol over a serial connection? To what? From what?

Oh, maybe it's just 2 PCs back to back?

Normally this request is to sunch time among a group of computers (PCs and/or otherwise) which are all on some type of network, running a network protocol, and utilising a subset of that protocol.

For example, under TCP/IP are a couple of protocols, NTP being the most common, specifically for time synch. See: http://www.eecis.udel.edu/~ntp/ for more info.
But this doesn't help you with running this across a serial line(??!??).

by david

Hi Ebob,

Thanks for your comments. The source of the time signal is an electronic clock unit generating a signal sent to all electronic equipment on a large site via an RS232 cable. I can read teh RS232 interface using Labview to capture the timesignal and can also compare same with the NT clock. What I cannot do is reset teh clock ( other than via the control panel ) when the difference in times is greatre than the error limit of 'n' seconds. Clearly if it can be done via teh control panelit should also be possible to call a system function from within Labview, if only I knew what it was.

Such features were common in VMS and RSX.

Any suggestions will be appreciated.

Many thanks

david@alpha-comp.co.uk

This discussion is closed to new replies.