ECS-L Home Automation and Security Archives
  learn more | view messages for this month | NetBloc® | terms of use | search

Google
 


  subject (prev) or (next) | time (prev) or (next) | author (prev) or (next) | view more subjects

Subject:
From:
Date:
Re: [ECS] ECS 4.2.009 & Serial-Byte
Mark Gilmore
Mon, 17 Jan 2000 08:51:14 -0500

Bill,
As now stated in the SERIAL-BYTE section,
the SERIAL-BYTE is only read when referenced
in the State column. So set a NUMBER or CHARACTER-A
Item TO your SERIAL-BYTE Item. Then that Item will
hold the byte read.
-- 
Mark Gilmore
Omnipotence (ECS home automation software)
http://www.usit.com/omnip
423-745-0026


Bill Walters wrote:
> 
> Mark,
> 
> I don't understand how this change could cause a problem...  If the value is
> 'correct' at the start of each event pass, why would it not be 'correct'
> when referenced (if not at the start of the event-pass)...  Anyway, here's
> the event in question (only down thru the offending line)
> 
> |Event: Log Call   Called ?:No
> |
> | ; Edited 8/18/99
> | ; ECS DOS "Local-Phone-Button" references deleted
> | ; and changes made to reflect addition of Weeder telephone interface
> | ; which intercepts touchtones and after 5 seconds of silence, sends
> | ; them out in a string prefaced with "O" (Letter Oh, not zero), and
> | ; terminated with C/R
> |
> | If Weeder Telephone IX Is  Disconnected
> | Then Event-Exit  Set  True
> |
> | If Weeder Telephone IX Is Not  None
> | Then Weeder T/C I  Set  Weeder Telephone IX
> ..............rest of code ommitted..........
> 
> The last line shown is the line the code "chokes" on...  BTW, Weeder
> Telephone IX is defined as type "Telephone-Interface", which is a custom
> type.  There each of the ASCII values for 0...9,#,*, CR, are defined.
> Item Weeder T/C I is type State-Holder.
> 
> There has not been a problem with this code since I put it into place.
> 
> Bill
> 
> ----- Original Message -----
> From: Mark Gilmore <omnip@usit.net>
> To: <ecs-list@netbloc.com>
> Sent: Sunday, January 16, 2000 3:23 PM
> Subject: Re: [ECS] ECS 4.2.009 & Serial-Byte
> 
> > Hi Bill,
> > Did you note this ?
> > *  197) SERIAL-BYTE and I/O-PORT-BYTE Items are now read when referenced
> > (instead of at the start of each Event-Pass).
> >
> > This may require an Event logic change.
> > I did not personally test it, but it apparently works
> > (for at least ONE customer :-)). Let me know if not.
> > --
> > Mark Gilmore
> > Omnipotence (ECS home automation software)
> > http://www.usit.com/omnip
> > 423-745-0026
> >

  subject (prev) or (next) | time (prev) or (next) | author (prev) or (next) | view more subjects




Services provided by [NetBloc]®! NetBloc Solutions Inc.
Terms of use. Indexing software (c) 1999 Lin-De, Inc
.