The UK Home Automation Archive

Archive Home
Group Home
Search Archive


Advanced Search

The UKHA-ARCHIVE IS CEASING OPERATIONS 31 DEC 2024


[Message Prev][Message Next][Thread Prev][Thread Next][Message Index][Thread Index]

Re: Re: xPLExec


  • Subject: Re: Re: xPLExec
  • From: Mal Lansell <mal@xxxxxxxxxxx>
  • Date: Tue, 01 Nov 2005 07:45:06 +0000
  • References: <26b8eee10510310219o2fb8fe97lf49c0e499611b381@mail.gmail.com> <dk4sed+r25m@eGroups.com> <26b8eee10510311141s34ba93ffl9881ce9f288e4c20@mail.gmail.com>

Inline...

Tom Van den Panhuyzen wrote:

> Mal,
> Some minor issues - I am writing them down because I noticed them, not
to
> be picky, ok ? ;-)
> - default name = "DEFAULT" (shouldn't that be
"instance1" ?)

I think "default" is correct.

> - no initial value for interval
> - I had to edit these values twice before xplExec would appear in the
> xplDevices list - it stayed in the Awaiting Config state (yes, I
> refreshed -
> maybe an xplHal issue ?)

Interval defaults to 5 - I don't know why it wouldn't show up.  I don't
have anything except the device name in the vendor xml file - I wonder
if that could have anything to do with it?

> - The configuration application allows a user to pick ".bat"
files, but
> these files do not appear in the filelist. I was able to enter the
name
> directly though and it accepted it.

OK - I'll look into that.

> - My original batch is a ".cmd" but your configuration
application only
> accepts ".bat". Maybe not an issue as I really do not know
the difference
> between a "bat" and a "cmd".

I've never heard of a .cmd as an executable file and I've been
programming PCs for 15 years - should I be embarrassed or is a .cmd a
bit obscure?  Either way, I can easily add it to the list.

> - An error in the path variable of the xpl msg results in an
"access
> denied"
> msg... it got me confused :-) took me some time to notice the error
was in
> the path and not in the configuration or somewhere else.
> In fact: why the path ? The configuration application already knows
the
> path to the executable.

True.  That would make things simpler.  The only issue would be that you
wouldn't be able to run anything with the same name but on a different
path, but that's probably a very minor thing compared to not having to
put the path in the message.

I should expand the documentation to list when these errors can occur.

> And now the good news: it works! :-)
> Cheers
> Tom
>
>
Hooray!! :-)

Regards

Mal





xPL Main Index | xPL Thread Index | xPL Home | Archives Home

Comments to the Webmaster are always welcomed, please use this contact form . Note that as this site is a mailing list archive, the Webmaster has no control over the contents of the messages. Comments about message content should be directed to the relevant mailing list.