Timing in RT



I noticed some weird behavior about synchronism in a RT program of mine, so i did a test: i ran a simple VI with a 1 second timed loop, which just writes current time (including milliseconds) on a file. Everything's ok on PC, but on RT the written times don't match exactly with clock seconds, i got results like this:
14:00:37.124 14:00:38.120 14:00:39.118 14:00:40.113 14:00:41.111 14:00:42.107 ...
Cycles are shorter by a few milliseconds, compared to system time. This was with a Timed Loop structure; by using a While loop with "Wait until next multiple" i get the opposite!
14:05:28.717 14:05:29.718 14:05:30.719 14:05:31.720 14:05:32.721 14:05:33.721 ...
If i set the FP to use a Time Server, it's same thing but there are periodic "jumps", probably caused by the Time Server adjusting the clock:
... 13:42:31.979 13:42:32.974 13:42:33.971 13:42:34.968 13:42:36.112 13:42:37.109 13:42:38.106 13:42:39.102 ...
Looks like, in RT, system timer and timers used by VIs are not aligned. Do you know any info about the matter, and how to align them?
.



Relevant Pages

  • Re: timesvc problem synchronizing time
    ... system time of the time server. ... And the system time of the client is set to system time of the time ... This posting is provided "AS IS" with no warranties, and confers no rights. ...
    (microsoft.public.windowsce.platbuilder)
  • Re: winxp time server
    ... I find it useful to have all the computers synchronize their ... system time with 1 computer on the network. ... configuring an authoritative time server in WinXP, I am still not sure just how to do ... help with registry settings for the new XP computer. ...
    (microsoft.public.windowsxp.basics)
  • Re: Puzzled about random initialisation
    ... No, the input is the system timer including the microseconds, and it ... > process and taking a single randint value is? ... > guess what values will be thrown up in a specified system time second? ... library PRNG, if you want to use that. ...
    (comp.lang.python)
  • Re: timesvc problem synchronizing time
    ... Andy, ... The timezone of the client is GMT +01:00. ... And the system time of the client is set ... system time of the time server - 1 hour. ...
    (microsoft.public.windowsce.platbuilder)
  • Sync. time to a time server
    ... I just installed Suse Linux 9 via ftp. ... Is there any way to synchronize ... the system time to a time server? ...
    (alt.os.linux.suse)