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] Sending file through DDE link
Jorge L. Correa
Tue, 01 Sep 1998 06:30:22 -0400

Hi, could some one explain what ACE is.

Thanks,

jcorrea@.coqui.net



Dan Hoehnen wrote:

> Michael,  you can set ace to look for the file every second, so there
> won't be too much delay in ecs creating the file and ace "seeing" it.  Is
> 1 second too long of a delay?
>
> dde was not meant to xfer files.  It was really meant to xfer small
> amounts of data.  I think that ace wants each command recieved via dde to
> be complete.  So, sending the command in 10 parts would not work.
> However, ace's serial parsing routine can handle a message that comes in
> pieces.  Just set the serial port up with some sort of termination
> character for each msg.  That way, ace will concatenate all data received
> fron teh port until the term char is received.
>
> I'm not sure if this helps or not, but I'm trying :)
>
> What type of message are you trying to send to ace?  Maybe if I know this
> I can help more.
>
> On Mon, 31 Aug 1998, Mark Gilmore wrote:
>
> > Michael, you could use the SET/CHAR operator to fetch
> > each char from the text-line and set a FILE item to
> > those chars. Terminate the line by setting it to
> > 13 (CR) & 10 (LF).
> >
> > Michael David wrote:
> > >
> > > 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/             *
> > > *************************************************************************
> >
> > --
> > Mark Gilmore
> > Omnipotence
> > http://members.a2zsol.com/omnipotence.html
> >
>
> 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
.