Return-Path: Received: from post.thorcom.com (post.thorcom.com [195.171.43.25]) by klubnl.pl (8.14.4/8.14.4/Debian-8+deb8u2) with ESMTP id w3BBQ9pE030543 for ; Wed, 11 Apr 2018 13:26:10 +0200 Received: from majordom by post.thorcom.com with local (Exim 4.14) id 1f6Dpl-0001R0-C7 for rs_out_1@blacksheep.org; Wed, 11 Apr 2018 12:22:37 +0100 Received: from [195.171.43.32] (helo=relay1.thorcom.net) by post.thorcom.com with esmtp (Exim 4.14) id 1f6Dpk-0001Ql-Rb for rsgb_lf_group@blacksheep.org; Wed, 11 Apr 2018 12:22:36 +0100 Received: from mail-wm0-x232.google.com ([2a00:1450:400c:c09::232]) by relay1.thorcom.net with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.89) (envelope-from ) id 1f6Dph-0006Xt-2Z for rsgb_lf_group@blacksheep.org; Wed, 11 Apr 2018 12:22:35 +0100 Received: by mail-wm0-x232.google.com with SMTP id u189so3393352wmd.1 for ; Wed, 11 Apr 2018 04:22:32 -0700 (PDT) X-DKIM-Result: Domain=gmail.com Result=Good and Known Domain DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=K2BUyuJju2xZVJxYJR4p/MuVxcQv+3B5XSnPTCyhXrI=; b=ALTm6kWzAO7WEDptI/v16GwfyBKd9Ud3FCfYu+lGxYs5GmYwIqKuhuLhH/vHINUliC HKxeRWBN1O8ZQioS0uNcUIy/0klIxlTscKCeb3KZpITiQQQNCyccj0/7kAFT9zfsGK1Z 6jEl7PKjthHR82ETkd46GBiVQvsOmEk/CaqfOe+nzsWQW0sK3NPfSvDnUr456NsgcKjS Pk01ztGwjWiwhy8ASXRU686UcTJHibvnkad+AeKqk7RgNyZzawTWC2UIF/daTOpEMuB0 Evw//FiRbT9TAPaqZ6Cl4D7dU2Xsf7gIfx9/NnQh+6Pg3lK9nwRQYF2lSfbhlJOFWRqi 7M/g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=K2BUyuJju2xZVJxYJR4p/MuVxcQv+3B5XSnPTCyhXrI=; b=qhyv8ej3wwL5OVmJerCyXKEO51tqHFQFTcgF2Wju3yGdN23EKNFRQdayBBA8OQXNLo DBXLuAlVdsOGmungFZyx2+AL3dn2If6Dg41jkCf50NRyaPCDCR4UhFCNnZ7pxuTnjKP4 3I2nriQS64kBfeNgYK8h6cp811LsUDw+NX8Y64Kb2tQVsh7LQeNudrjZsLK49qe+nKGZ V5+W3jS7zmSAcUkhQoI0GCR5b42woFn2uad5RdZDpm3V6rO6uZAfVXmHswy90x0fQzmd PmunS3rR7gpyrOBzFuWMwyX/XnVE7Qmo6+wY5H79+or+o4GYqvQY7sx35UQQf0WQ7W4s LmOA== X-Gm-Message-State: ALQs6tDqz/ANEjhI4fc2utuBXF2zVK0SY/tfdyBFz9lSZennOvE/xQYc JoKQj8KDQcbb8mqUvonvcGmeHB95z0eP/4qCknrvgQ== X-Google-Smtp-Source: AIpwx4+Wq8Vx0V09YQRpDIl4n8Jjp2ciqcSjO+EIVh6kEqyJDpyu5gmQGSNoHwCB0FvnbfpiGCtm7rbOHLOwEUaz7EY= X-Received: by 10.80.244.1 with SMTP id r1mr9102178edm.111.1523445752593; Wed, 11 Apr 2018 04:22:32 -0700 (PDT) MIME-Version: 1.0 Received: by 10.80.154.195 with HTTP; Wed, 11 Apr 2018 04:22:32 -0700 (PDT) In-Reply-To: References: <1215299641.20180411111636@gmail.com> From: Andy Talbot Date: Wed, 11 Apr 2018 12:22:32 +0100 Message-ID: To: LineOne X-Spam-Score: 1.0 (+) X-Spam-Report: Spam detection software, running on the system "relay1.thorcom.net", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Just in case it matters, I initially test for all valid COM ports by opening and closing each in turn, then testing for an error. If that causes problems to anything on another port that has not yet been opened, like another PTT control, it will briefly 'blip' [...] Content analysis details: (1.0 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (andy.g4jnt[at]gmail.com) 0.0 HTML_MESSAGE BODY: HTML included in message 0.0 T_DKIM_INVALID DKIM-Signature header exists but is not valid 1.0 FREEMAIL_REPLY From and body contain different freemails X-Scan-Signature: 622b0ca3461797caf37867321c193763 Subject: Re: LF: Windows software to drive a relay at a given time? Content-Type: multipart/alternative; boundary="089e0825321ceb01cd056990da9e" X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on post.thorcom.com X-Spam-Level: X-Spam-Status: No, hits=0.6 required=5.0 tests=HTML_20_30, HTML_FONTCOLOR_UNSAFE,HTML_MESSAGE autolearn=no version=2.63 X-SA-Exim-Scanned: Yes Sender: owner-rsgb_lf_group@blacksheep.org Precedence: bulk Reply-To: rsgb_lf_group@blacksheep.org X-Listname: rsgb_lf_group X-SA-Exim-Rcpt-To: rs_out_1@blacksheep.org X-SA-Exim-Scanned: No; SAEximRunCond expanded to false --089e0825321ceb01cd056990da9e Content-Type: text/plain; charset="UTF-8" Just in case it matters, I initially test for all valid COM ports by opening and closing each in turn, then testing for an error. If that causes problems to anything on another port that has not yet been opened, like another PTT control, it will briefly 'blip' Any COM port already open will get rejected by this test so no adverse effect there. Andy On 11 April 2018 at 12:18, Andy Talbot wrote: > Try this > http://www.g4jnt.com/DropF/simpletimer.zip > > It lets you abort the on time using the [esc] key > > Source code is in there as well > > All in PowerBasic, command line compiler version > (By far the nicest way to programme simple things that don't need whizzy > windows interfaces) > > Andy > > On 11 April 2018 at 11:16, Chris Wilson wrote: > >> >> >> Hello LF'ers >> >> >> Software to close a relay at a given time, perhaps via the serial port? >> >> >> I am looking for some simple software to enable, at a given time to >> within a second or so, derived from the PC time, activate a relay or >> semiconductor switch possibly via a true serial port, of which i have >> several spare. Does anyone know of anything like that please? Ideally >> it would be able to open the relay at a later time. Just two time >> based changes of state would be adequate in a 24 hour period. Thanks. >> OS is MS Windows 7 64 bit Pro. >> >> >> >> >> -- >> Best regards, >> Chris mailto:dead.fets@gmail.com >> >> >> > --089e0825321ceb01cd056990da9e Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Just in case it matters, I initially test for all valid CO= M ports by opening and closing each in turn,=C2=A0 then testing for an erro= r.=C2=A0 =C2=A0=C2=A0
If that causes problems to anything on another po= rt that has not yet been opened, like another PTT control,=C2=A0 =C2=A0 it = will briefly 'blip'

Any COM port already o= pen will get rejected by this test so no adverse effect there.

=
Andy

=
On 11 April 2018 at 12:18, Andy Talbot <= andy.g4jnt@gmail.com> wrote:
Try this

It lets you abort the on time using the= [esc] key

Source code is in there as well=C2=A0

All in PowerBasic, command line compiler versio= n
(By far the nicest way to programme simple things that don'= t need whizzy windows interfaces)

Andy

On 11 April 2018 at 11:16, Chris Wilson <= dead.fets@gmail.co= m> wrote:


Hello LF'ers


Software to close a relay at a given time, perhaps via the serial port?


I am looking for some simple software to enable, at a given time to
within a second or so, derived from the PC time, activate a relay or
semiconductor switch possibly via a true serial port, of which i have
several spare. Does anyone know of anything like that please? Ideally
it would be able to open the relay at a later time. Just two time
based changes of state would be adequate in a 24 hour period. Thanks.
OS is MS Windows 7 64 bit Pro.




--
Best regards,
=C2=A0Chris=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 mailto:dead.fets@gmail.com




--089e0825321ceb01cd056990da9e--