Return-Path: Received: (qmail 11049 invoked from network); 23 Mar 2001 14:17:54 -0000 Received: from unknown (HELO murphys-inbound.servers.plus.net) (212.159.14.225) by 10.226.25.101 with SMTP; 23 Mar 2001 14:17:54 -0000 Received: (qmail 2157 invoked from network); 23 Mar 2001 14:17:56 -0000 Content-Transfer-Encoding: 8bit Received: from unknown (HELO post.thorcom.com) (212.172.148.70) by murphys with SMTP; 23 Mar 2001 14:17:56 -0000 Received: from majordom by post.thorcom.com with local (Exim 3.16 #2) id 14gSFn-0006KX-00 for rsgb_lf_group-outgoing@blacksheep.org; Fri, 23 Mar 2001 14:09:23 +0000 X-Priority: 3 X-MSMail-Priority: Normal Received: from mail.cc.kuleuven.ac.be ([134.58.10.6]) by post.thorcom.com with esmtp (Exim 3.16 #2) id 14gSFm-0006KS-00 for rsgb_lf_group@blacksheep.org; Fri, 23 Mar 2001 14:09:22 +0000 Received: from LCBD15.fys.kuleuven.ac.be (LCBD15.fys.kuleuven.ac.be [134.58.80.15]) by mail.cc.kuleuven.ac.be (8.9.3/8.9.0) with SMTP id PAA144838 for ; Fri, 23 Mar 2001 15:08:59 +0100 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Message-ID: <3.0.1.16.20010323151053.08afed50@mail.cc.kuleuven.ac.be> X-Sender: pb623250@mail.cc.kuleuven.ac.be X-Mailer: Windows Eudora Pro Version 3.0.1 (16) Date: Fri, 23 Mar 2001 15:10:53 To: rsgb_lf_group@blacksheep.org From: "Rik Strobbe" Subject: LF: QRS beta version (external timing) In-reply-to: <65AECDF1F89AD411900400508BFC869F9C03FA@pdw-mail-1.dera.gov .uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Precedence: bulk Reply-To: rsgb_lf_group@blacksheep.org X-Listname: rsgb_lf_group Sender: Hello group, Recently there have been some requests to be able to let an external (and accurate) timing source control the PC clock while running QRS. I had a look at it and a basic 'external time control' was rather easy to implement. In version 3.06 beta 1 it is possible to connect a accurate timing source to COM port CTS pin (on a D9 connector : pin 8, on a D25 : pin 5). At this moment it must be a 1 minute clock source (maybe more posibilies later). You can download this version from : http://www.qsl.net/on7yd/QRS/qrs306b1.zip In SETUP you can click on TIME to get to the external clock menue. There you have 3 possibilies : - DISABLE : no external clocking - ABSOLUTE : the PC clock will increment 1 minute for every pulse at CTS (compared to time at the previous pulse). - ADJUSTING : a pulse at CTS will adjust the PC clock to the closest minute May sound complicated, therefore an example : 1. Before starting QRS you have to set the PC clock as accurate as you can (by hand using the default windows device for setting the clock or using software that sets the PC clock based on DCF77 or similar). 2A. If you select ABSOLUTE then QRS will take a 'reference time' at the first pulse on CTS and from then on will increase time by 1 minute for every pulse. In the time between the pulses the PC clock will run at its own pace. eg. Assume 14:25:36 is taken as reference time. At the next CTS pulse the clock will be set to 14:26:36, then to 14:27:36 etc ... 2B. If you select ADJUSTING then QRS will also take a 'reference time' at the first CTS pulse but from then on will only adjust the clock on every CTS pulse. eg. Assume 14:25:36 is taken as reference time. At the next CTS pulse QRS reads the PC clock, let's say 14:26:35 -> this will be adjusted to 14:26:36. The difference between the 2 options is that if (for whatever reason) there is a CTS pulse missed that in the ABSOLUTE mode the PC clock will be 1 minute wrong while in the ADJUSTING mode the clock will be set correct as long as the in the time between 2 CTS pulses it hasn't gone wrong more than 30 seconds in its own pace. One could use an atomic clock or GPS to generate the 60 second timing, but for the mere mortals a simple Xtal oscillator + divider train will do (keep the error less than a second over a period of several days). Keep in mind that the pulses must exactly come in a 60 second interval, but that there is no need that the pulse comes just on a full minute. Finaly : the pulse applied to CTS must be positive and have a width between 10us and 10ms. If there is sufficient feedback I am willing to continue and make more flexible external timing possibilies. 73, Rik ON7YD