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: RE: [ECS] Sending file through DDE link
Michael David
Tue, 1 Sep 1998 19:59:23 -0400

Hi Daniel!

That's a good suggestion.  However, I need to create single text lines
longer than the text item will accommodate.  Unfortunately, each time a text
line is logged to a file, it is appended as a new line - not to the end of
an existing line.

Good thought though, thanks!

Cheers!

Michael David
michael@michaeldavid.com


-----Original Message-----
From:	Daniel Dubay [mailto:ddubay@umich.edu]
Sent:	Tuesday, September 01, 1998 10:10 AM
To:	ecs-list@vancouver.ml.org
Subject:	Re: RE: [ECS] Sending file through DDE link

If I understand you correctly, I would use a temporary text item and the
append functions.  (T1->T1/A, See Mark's documentation for details)
Then create a log item with the file name of your choice.  Set the log
item to the temporary text item.

Dan Dubay

>>> "Michael David" <michael@michaeldavid.com> 08/31 9:11 AM >>>
Hi Dan!

That would work, except, I'd need to have it happen as soon as the file
is
written, rather than waiting for ACE to "see" it.

Also, I'm not sure that I can even build the file in ECS.  Maybe some
of the
folks here know.  What I need to do is create a file with a text line
that
is up to 100 characters, which would be assembled together from smaller
text
lines from text items within ECS. Anyone have any ideas on how to do
this?
I think if I use the file item, each text line from a text item will
be
written to it's own line.

Cheers!

Michael David
michael@michaeldavid.com


-----Original Message-----
From:	Dan Hoehnen [mailto:dhoehnen@infinet.com]
Sent:	Monday, August 31, 1998 8:47 AM
To:	ecs-list@vancouver.ml.org; michael@michaeldavid.com
Cc:	ECS List
Subject:	Re: [ECS] Sending file through DDE link

Michael,

How about using ACE's ability to process commands from an ascii file?
All you have to do is create a text file with teh command in it.  Then
configure ace to look for this file every so often.  When ace finds
the
file it processes teh command and then deletes teh file and starts
looking for the file again.  The feature is enabled under teh
PREFERENCES
option and the API tab.

On Sat, 29 Aug 1998, Michael David wrote:

> Hi Mark!
>
> I need to send a file to ACE through ECS' DDE link.
>
> If I use a text item with @<filename> in the text field, I can send
the
> contents of file to a serial port by using Send->COM{n}.  However, if
I
try
> Send->ID:{n}, it only sends the @<filename> in the text field on the
text
> item.
>
> BTW, the reason I need to send a file to ACE is because some of the
messages
> I need to send are a bit longer than the text item can accommodate.
>
> Cheers!
>
> Michael David
> michael@michaeldavid.com
>
>

Dan Hoehnen
dhoehnen@infinet.com
He who dies with the most toys, wins!
*************************************************************************
* Home Automation Index: http://www.infinet.com/~dhoehnen/ha/list.html
*
*
*
* Port16.ocx & Port32.ocx - Give Visual Basic access to I/O ports
*
*                http://www.infinet.com/~dhoehnen/software/
*
*************************************************************************






  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
.