Hello,
I traing to use the querryplc comand in my personal program, i´m using delphi to do it,
but the porblem is: i can use other comand like sendplc to turn on and off modules, but i cant check the data base of cm15a whit the comand querryplc.
here is a part of mi code in delphi, in this part i use the querrylplc
resp:=ahObj.SendAction('queryplc',HouseCode+DeviceCode+' on');
ShowMessage('queryplc '+HouseCode+DeviceCode+' on');
edtEdo.Text:=resp;
ShowMessage(resp);
resp:=ahObj.SendAction('queryplc',HouseCode+DeviceCode+' off');
ShowMessage('queryplc '+HouseCode+DeviceCode+' off');
edtEdo.Text:=resp;
ShowMessage(resp)
I need help
result = SendAction( "queryplc", "a1 on" )
in my scripting code and it works perfectly.Hi Bill and thank you for your help !
....
What I would like to know is if I'm using the proper SDK. Where can I download the latest one where "queryplc" doesn't have any known problem?
Thank you for your help again
File Name | File Version | Date Modified | Date Created |
ahcmd.exe | 3.0.0.183 | Wednesday, March 23, 2005, 6:11:50 PM | Saturday, October 29, 2005, 5:58:51 PM |
ahscript.dll | 3.0.0.200 | Thursday, February 02, 2006, 4:53:38 PM | Saturday, October 29, 2005, 5:58:49 PM |
rundll32.exe | 4.90.0.3000 | Tuesday, October 30, 2001, 7:41:42 PM | Saturday, October 29, 2005, 5:12:58 PM |
x10.exe | 1.0.0.1 | Tuesday, October 30, 2001, 7:36:42 PM | Saturday, October 29, 2005, 5:12:40 PM |
x10lv.dll | 3.0.0.82 | Friday, January 17, 2003, 11:44:58 AM | Sunday, March 23, 2008, 12:53:06 AM |
x10net.dll | 3.0.0.204 | Wednesday, June 21, 2006, 11:10:32 AM | Saturday, October 29, 2005, 5:12:40 PM |
X10nets.exe | 1.0.0.1 | Monday, November 12, 2001, 2:31:48 PM | Saturday, October 29, 2005, 5:12:40 PM |
xcap.ax | 2.0.0.106 | Tuesday, May 13, 2003, 4:50:56 PM | Sunday, March 23, 2008, 12:53:06 AM |
xsetup.dll | None shown | Friday, November 04, 2005, 3:19:02 PM | Saturday, October 29, 2005, 5:44:04 PM |
Technically, I'm not using the files provided by the SDK itself, but the files that AHP installed in: C:\Program Files\Common Files\X10\Common which are as follows:
This post got me looking! ::) I've been running the files from the SDK!
Technically, I'm not using the files provided by the SDK itself, but the files that AHP installed in: C:\Program Files\Common Files\X10\Common which are as follows:
Bill, you are a prince. I've been reading through threads for days looking for this tiny bit of information! Thank you for your helpful post!
I just don't understand what the problem is.
I have used:Code: [Select]result = SendAction( "queryplc", "a1 on" )
in my scripting code and it works perfectly.
For X10 modules that don't support two-way, it returns the last module state known by the X10 service.
This means that:
If the computer was not running at the time the module was last switched, it will return the last known state stored in the CM15A, if and only if the module's house code is the same as the CM15A's "monitored house code" as set in AHP.
If the computer was running at the time the module was last switched, it will return the last known state for all 256 possible module addresses.
Either way, the "last known state" will be based on the last signal for that module that passed through the CM15A. It will not reflect the status of wall switches that were manually switched unless the wall switch sends a X10 signal out when it is manually switched (most X10 wall switches to-date don't do that).
I hope this helps.
If not, maybe we need to examine the file-dates of the X10 support files and such.
Again, I just don't get why I'm the only one who can seem to get it working! >*<
>!