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's new DDE & ACE
Mark Gilmore
Tue, 07 Mar 2000 20:58:26 -0500

Good question:
It has to do with the fact that I want all Clients
(DDE, Serial, AND TCP/IP) to be able to monitor ALL
State-transitions, and hence have the ability to execute
scripts on remote machines.
If I returned the MODIFED State, I would have ran into "wierd"
problems if the Client set a GROUP-MIN/MAX Item, whose referred
Group contained Items which were monitored. This would have caused
havoc, as ECS would attempt to send the required DDE update packets
while still servicing the original DDE packet.
I'm tired - trust me :-) 
-- 
Mark Gilmore
Omnipotence (ECS home automation software)
http://www.usit.com/omnip
423-745-0026


Bill Walters wrote:
> 
> No problem Mark, I merely asked a question.
> 
> Why do you have ECS send "Current State", then "New State" over the DDE link
> when any monitored item's state changes?  Why not just send the "NEW STATE"
> ??
> 
> >From ECS 4.3.001     UPD.TXT:
> 
> *   18) The SERIAL-API & DDE-API have been changed as follows:
> 
>         b) When a DDE client issues an Item State-change request
> (SET/ADD/etc),
>     ECS now returns the CURRENT (PRE-modified) State in the response
>     packet (rather than the post-modified State). If the Item is
>     MONITORED, a subsequent update packet will be sent when the
>     State is modified. Note that for GROUP-MINIMUM/MAXIMUM Items,
>     multiples may be sent.

  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
.