Charmed Quark Systems, Ltd. - Support Forums and Community
Need help with controlling an app - Printable Version

+- Charmed Quark Systems, Ltd. - Support Forums and Community (https://www.charmedquark.com/vb_forums)
+-- Forum: General Discussion (https://www.charmedquark.com/vb_forums/forumdisplay.php?fid=3)
+--- Forum: Installation/Configuration (https://www.charmedquark.com/vb_forums/forumdisplay.php?fid=10)
+--- Thread: Need help with controlling an app (/showthread.php?tid=239)

Pages: 1 2 3


Need help with controlling an app - simon - 07-22-2006

After finding the thread about accessing Homeseer for basic X10, I thought I would try to do it for Active Home.
It has a command line app called x10comm.exe
by entering "x10comm a1 on" it will turn on a light.

I have added a widget, and it says that it has connected correctly.
I have added a button with the value for turning on the light.

When I click the button, on the application server, I get the following error:
An expception occured while starting app for driver

Any ideas what I can check please?

Thanks,
Simon.


Need help with controlling an app - IVB - 07-22-2006

Sorry, it's still early for me, haven't had my coffee yet.

I've never tried this myself, so is this what you're doing?
You added a command button widget, and did an action with:
System.ExecApp.AppToRun="x10comm"
System.ExecApp.Parameters="a1 on"


Need help with controlling an app - simon - 07-22-2006

no, according to the other thread you do a devices, field write, startwithparms

Am trying you way now....


Need help with controlling an app - IVB - 07-22-2006

Oh, that uses the app control module. My post doesn't do that, just does a system exec command. I don't actually know what the benefit of one vs the other would be. Dean - any tips there?


Need help with controlling an app - simon - 07-22-2006

cannt do it your way, as that wants to run the programme local, when I need to run it on the server.


Need help with controlling an app - IVB - 07-22-2006

oh right - that's the point of the app control driver. Brain is slowly waking up, sorry about that.

So with the app control, I think you did this but just checking:
did you add a generic app control driver referencing the x10comm program calling it something like myx10commdriver? And it shows up as connected in the app control module? And, that's what you're trying to do a field-write true, with those startwithparms?


Need help with controlling an app - simon - 07-22-2006

Thats right.
And when I press the button i get the error in the apps server window


Need help with controlling an app - Dean Roddey - 07-22-2006

Bring up the log monitor and do it and see what's showing up in the logs.


Need help with controlling an app - simon - 07-22-2006

Could not start external process: "D:/program files/ home control/x10comm.exe" a7 on

So even though its connected it cannt send it a command.


Need help with controlling an app - Dean Roddey - 07-22-2006

Is that path right, or is that just a typo? I.e. did it really show / slashes and does it really have a space before home control? There's probably going to be something about the path that's wrong since that's about the only thing that would prevent it from running such a simple program. Or that program requires some environmental setup that's not set from within the app control server's environment or something.