Please login or register.

Login with username, password and session length

Author Topic: queryplc command not working  (Read 12036 times)

doug

  • Newbie
  • Helpful Post Rating: 0
  • Posts: 4
queryplc command not working
« on: November 22, 2005, 07:38:13 PM »

I cannot get this to work.  I have read in
this forum that it is broken.

Will someone at X10 please respond to
this?  Is it broken?  If so when will it be
fixed?  If not broken can someone please
provide VB 6 code that will work?

Thanks.
Doug
Logged

m bianco

  • Newbie
  • Helpful Post Rating: 0
  • Posts: 4
Re: queryplc command not working
« Reply #1 on: January 25, 2006, 11:46:34 PM »

Ditto for me.
Logged

SkipWill

  • Jr. Member
  • **
  • Helpful Post Rating: 0
  • Posts: 17
Re: queryplc command not working
« Reply #2 on: February 01, 2006, 02:00:10 PM »

Its been broken since 3.8 came out.  Before
that it worked well.

If I only had the old 3.7x install, I would
seriously consider going back.

Skip
Logged

m bianco

  • Newbie
  • Helpful Post Rating: 0
  • Posts: 4
Re: queryplc command not working
« Reply #3 on: February 01, 2006, 02:14:11 PM »

Thx for the post. I would go back but I
don't have 3.7x. Do you know where I can
get it? Thx in advance.
Logged

marc

  • Jr. Member
  • **
  • Helpful Post Rating: 0
  • Posts: 13
Re: queryplc command not working
« Reply #4 on: February 06, 2006, 11:05:34 PM »

Matthew,
I have an ahsdk_install.exe file from
October 2004. Will that do it? Any way of
figuring out what verion it is without going
through the install? Actually, I'm not even
sure how to figure out which version I have
currently installed on my PC.
Thanks
Logged

-Bill- (of wgjohns.com)

  • Advanced Member
  • Hero Member
  • ******
  • Helpful Post Rating: 81
  • Posts: 1340
  • He's just this guy. You know?
    • wgjohns.com
Re: queryplc command not working
« Reply #5 on: October 22, 2008, 02:11:24 AM »

I have emailed X10 about this problem.  There has been no response so far, but this might explain your problem:

The issue with the SDK is that the ahscript.dll file supplied in the SDK is version 3.0.0.183 while the version supplied with AHP is 3.0.0.200.  The most obvious problem with this is that software that uses the SDK version of the file gets erroneous results when attempting to use the “queryplc” command.  Many that have tried to develop software using the SDK have complained that the “queryplc” command always returns a result of 0.  Granted this is only an issue if the developer or end user doesn’t have AHP installed, or the developed software accesses a local copy of ahscript.dll instead of the one installed by AHP, but it does lead to a lot of frustration when trying to develop software and the “queryplc” command doesn’t appear to work.

Logged
-Bill- (of wgjohns.com)
bill@wgjohns.com

In the real world, the only constant is change.

When I'm online you can find me in the Home Automation Chat Room!

EL34

  • Hero Member
  • *****
  • Helpful Post Rating: 21
  • Posts: 278
    • My X-10 projects
Re: queryplc command not working
« Reply #6 on: October 22, 2008, 08:09:46 AM »

Hmmm, it works for me
not sure why, but it works fine in my VB2008 express app.
Coud it be the .net version installed on the pc?

Edit: just did a test to see why it worked for me, the results are here in this post.
http://www.x10community.com/forums/index.php?topic=16677.msg91907
« Last Edit: October 22, 2008, 10:33:47 AM by EL34 »
Logged
W10 - CM15A - AHP 3.301 - i Witness - MyHouse online - Smart Macros - SDK using Visual Basic express 2008
My X10 page-> http://www.el34world.com/Misc/home/X10_0.htm
 

X10.com | About X10 | X10 Security Systems | Cameras| Package Deals
© Copyright 2014-2016 X10.com All rights reserved.