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] Speak/w
Scott Danks
Wed, 17 Jan 2001 10:33:16 -0600

 Wed, 17 Jan 2001 10:33:16 -0600
well, it's 6 of one and ½ a dozen of the other.  If you need event processing to continue,
you would use the 10 second timer.  But, speak/w will pause until the speaking is finished.
 ECS has a built in method of "catching up".  It will run the event loop for every second
it is behind just in case there is code to be acted upon.  If I remember correctly,
there is a variable called "Seconds-Behind" that will tell you how many seconds behind
you are.  Since ECS runs about 4 passes/sec, it catches up 4 seconds for every real
second.  So, unless you have something that really needs to be watched every second
you can probably get away with the speak/w and then process the release of the relay
after it finishes.  That way your relay is variable with the length of the message spoken.
 If you have a message longer than 10 seconds you would have to adjust the timer accordingly....etc.

>>> "Frank Herron" <herronfr@hotmail.com> 01/17 10:07 AM >>>
Do I understand this correctly?  Speak/w causes ECS to speak and all event 
processing stops (waits) for speaking to end?  Is this a bad thing?
Just upgraded to new ECS version and liked it except when I specify Speak, 
the "speak Relay" immediately opens and closes.  Never get to hear the 
message.  Speak/w would fix this, or a Speak timer to hold relay closed for 
10 secs.  Which is the better fix?  Thanks.
                                                                 
Get your FREE download of MSN Explorer at http://explorer.msn.com 



  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
.