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] General Questions
Mark Gilmore
Wed, 01 Mar 2000 19:08:41 -0500

> -Is it necessary to use specialized counters, timers, and numbers for
> each event?  For example, if the generic [Second-timer] is being
> addressed in two separate events at the same time, what happens?

Use a dedicated counter for each TASK (regardless of Events).

> 
> -Is it considered bad programming to have multiple events triggered at
> the same time?  Would this cause problems, for example, if two WPDLs
> are executed at the same time?

Events are executed sequentially (one at a time), as they exist in
ECS.CFG.
Use EXECUTE/W (wait) if a given program could possibly access the same
file(s).

> 
> -Is there a point where there are too many Events for ECS to handle?
> Example - should logic be near the top of events that does a
> Event-Exit if that Event isn't necessary in order to streamline the
> code?

Not a concern (code for readability and ease of maintenance).

> 
> -Is there a limit to the length of a single Event?  Or, should a 400+
> line Event be broken up into separate events (if possible)?

I guess the max size (for editing) would be 64000 characters (max size
of a Win dialog box).
The actual max size is bigger than you would ever reach.

> 
> -Is it OK to shut down Windows without closing ECS first?  Similarly,
> what happens to the ECS files if the computer hangs and only a cold
> boot will work?

I don't know, but I wouldn't recommend it.
I have never experienced any problem with hard boots.

> 
> OK, that's enough for now   ;-)
> 
> -=A.J.

-- 
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
.