|
ECS-L Home Automation and Security Archives |
learn more
| view messages for this
month | NetBloc® | terms of use | search
subject (prev) or (next) |
time (prev) or (next) |
author (prev) or (next) |
view more subjects
Subject: From: Date: | RE: [ECS] Another Resource Problem Troy Carpenter Wed, 16 Sep 1998 14:48:42 -0400 |
Ingo,
The application that seems to cause it for me is RingCentral by RZS. It is
an application that came with the computer (Acer Aspire, IBM P166, 64MB RAM)
but upgraded to the latest version. I currently have the W95 System Agent
restart RingCentral every hour since it is my phone answering system
(RingCentral does not let multiple copies of itself exist, but instead
treats the "re-run" as a raise window event.)
I have had the problem happen both when RingCentral is running, after I have
quit it, and even before the program even runs after a reboot.
My problem is the haywire with SC errors. At no time has this crashed my
whole machine, just caused ECS to go down. In fact, I have added a macro
routine in ECS to re-run events based on the time of day, with less
restrictive requirements. This is mainly done by creating called events
which use a state variable to decide what should be done during an
invocation. Another non-called event runs the schedule associated with
those actions. The recreate event can then just set the state variable and
call the necessary event based on the time of day. Here's some pseudo-code:
-----------
Dusk Events, called:yes
if state is 1
then light set on
else if state is 2
then light set 50%
end
Dusk Schedule, called:no
if time is sunset-time
then state set 1
then event-call set Dusk Events
then timer set 2
if timer is now 0
and state is 1
then state set 2
then event-call set Dusk Events
then state set 0
end
----------------
In this case, to recreate the event I would just set the state variable to
whatever state I need and call the Dusk Events event.
Anyway, Mark now says he may have it fixed, so this may be a mute point.
I have another "would be nice" issue that I am going to send in another
email
subject (prev) or (next) |
time (prev) or (next) |
author (prev) or (next) |
view more subjects