Active TopicsActive Topics  Display List of Forum MembersMemberlist  Search The ForumSearch  HelpHelp
  RegisterRegister  LoginLogin
PowerHome and Elk
 PowerHome Messageboard : PowerHome and Elk
Subject Topic: Elk serial connectivity on Win8 64bit Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
JaredM
Newbie
Newbie


Joined: November 04 2007
Online Status: Offline
Posts: 36
Posted: June 30 2013 at 10:55 | IP Logged Quote JaredM

I recently moved my system over to Windows 8 64bit. I have things working as they were before except for Elk connectivity. I'm using a serial connection and I get this error message:

Code:
PowerHome Version: 2.1.4
Error Number: 39
Error Message: Error accessing external object property input at line 16 in oncomm event of object ole_comport of uo_controller_elkm1.
Window: uo_controller_elkm1
Object: ole_comport
Event: oncomm
Line: 16


I think the Elk, the COM port, the cable, etc. are all OK because the ElkRP software has no problem talking to it.

Any ideas?

In case it helps, Dave, when I switched to Win8 64bit a program I wrote a while back to talk to my weather station that used mscomm ocx stopped working. Apparently this isn't supported on Windows 8 64bit, so I had to switch to using a .Net Serial class. I gather from the forums PH might use the same ActiveX control.
Back to Top View JaredM's Profile Search for other posts by JaredM
 
dhoward
Admin Group
Admin Group
Avatar

Joined: June 29 2001
Location: United States
Online Status: Offline
Posts: 4447
Posted: June 30 2013 at 12:41 | IP Logged Quote dhoward

Jared,

Since you're on version 2.1.4, the problem should be unrelated to the MSCOMM control (version 2.1.4 has replaced this control with an Eltima serial port control).

I would suspect that perhaps this control did not get fully registered under Windows 8. Under c:\powerhome\drivers\serial port, you should find the DLL's for the Eltima driver. You'll want to open a command prompt in this directory using Run as Administrator (this is important). Then you can execute regsp sport.dll and make sure you get a successfully registered message.

Lets see where that gets us.

Dave.
Back to Top View dhoward's Profile Search for other posts by dhoward Visit dhoward's Homepage
 
JaredM
Newbie
Newbie


Joined: November 04 2007
Online Status: Offline
Posts: 36
Posted: June 30 2013 at 14:19 | IP Logged Quote JaredM

I'm afraid that didn't do it. I did cmd using Run As Administrator then regsp sport.dll and I got "DllRegisterServer in Sport.dll Succeeded." But same error persists in PH.
Back to Top View JaredM's Profile Search for other posts by JaredM
 
dhoward
Admin Group
Admin Group
Avatar

Joined: June 29 2001
Location: United States
Online Status: Offline
Posts: 4447
Posted: June 30 2013 at 15:35 | IP Logged Quote dhoward

Jared,

Ive been researching the sourcecode and apparently the Elk serial interface is one of the controllers that I did NOT upgrade to the Eltima serial control. It is in fact still using the old MSCOMM ocx which as you've found is not compatible with Windows 8.

Ive added it to the to-do list for 2.1.5.

Dave.
Back to Top View dhoward's Profile Search for other posts by dhoward Visit dhoward's Homepage
 
JaredM
Newbie
Newbie


Joined: November 04 2007
Online Status: Offline
Posts: 36
Posted: June 30 2013 at 18:54 | IP Logged Quote JaredM

Thanks for checking, Dave.
Back to Top View JaredM's Profile Search for other posts by JaredM
 
tgpaul
Newbie
Newbie


Joined: December 06 2014
Online Status: Offline
Posts: 5
Posted: December 06 2014 at 00:31 | IP Logged Quote tgpaul

Dave--

Found this old thread trying to figure out why the standalone elkinsteon.exe
wouldn't work in Windows 8.1. Any chance you could update the standalone
tool to the Eltima serial control?


Thanks!
Back to Top View tgpaul's Profile Search for other posts by tgpaul
 
dhoward
Admin Group
Admin Group
Avatar

Joined: June 29 2001
Location: United States
Online Status: Offline
Posts: 4447
Posted: December 06 2014 at 19:50 | IP Logged Quote dhoward

Paul,

Ive added this request to the to-do list. Shouldnt be too difficult.

Dave.
Back to Top View dhoward's Profile Search for other posts by dhoward Visit dhoward's Homepage
 
tgpaul
Newbie
Newbie


Joined: December 06 2014
Online Status: Offline
Posts: 5
Posted: December 06 2014 at 20:26 | IP Logged Quote tgpaul

dhoward wrote:
Paul,

Ive added this request to the to-do list. Shouldnt be too difficult.

Dave.


Sweet, thanks!
Back to Top View tgpaul's Profile Search for other posts by tgpaul
 
tgpaul
Newbie
Newbie


Joined: December 06 2014
Online Status: Offline
Posts: 5
Posted: December 30 2014 at 20:52 | IP Logged Quote tgpaul

Any update on this? Really looking forward to it!

Happy New Year all!
Back to Top View tgpaul's Profile Search for other posts by tgpaul
 
dhoward
Admin Group
Admin Group
Avatar

Joined: June 29 2001
Location: United States
Online Status: Offline
Posts: 4447
Posted: December 30 2014 at 21:27 | IP Logged Quote dhoward

Paul,

Im hoping to have it updated by this weekend.

Dave.
Back to Top View dhoward's Profile Search for other posts by dhoward Visit dhoward's Homepage
 
dhoward
Admin Group
Admin Group
Avatar

Joined: June 29 2001
Location: United States
Online Status: Offline
Posts: 4447
Posted: December 31 2014 at 19:54 | IP Logged Quote dhoward

Paul,

I worked on updating the Elk Insteon utility today and think I have it updated. This code hasnt been updated in years and was still using PowerBuilder 9.0 (which I don't even have loaded anymore) so had to do a full upgrade.

In any event, I'd need you to test it out for me as I know longer have an M1XSP available to perform any testing. The zip file for the new util is here: http://www.power-home.com/download/elkinsteon110.zip.

Just create a directory and unzip the contents there. You'll see a significant increase in files over the old version due to the extra runtimes that being upgraded to PowerBuilder 12.5 requires. You'll also need to run regsvr32 on the comm32.ocx file (if you have the latest version of PowerHome installed, you're good. If you don't have PowerHome, you can just run regsvr32 on it in the directory).

If everything works out, I'll get around to making an installer for it.

Let me know,

Dave.
Back to Top View dhoward's Profile Search for other posts by dhoward Visit dhoward's Homepage
 
tgpaul
Newbie
Newbie


Joined: December 06 2014
Online Status: Offline
Posts: 5
Posted: December 31 2014 at 20:44 | IP Logged Quote tgpaul

I'd be happy to--will try it out tomorrow or Friday. Happy New Year!
Back to Top View tgpaul's Profile Search for other posts by tgpaul
 
tgpaul
Newbie
Newbie


Joined: December 06 2014
Online Status: Offline
Posts: 5
Posted: January 01 2015 at 16:32 | IP Logged Quote tgpaul

Dave--

I tried out the utility, but it seems to be timing out on the read operation. Granted, it's been a few years since I've done this, but I'm fairly certain I have everything connected properly (I'm using a null modem and a gender changer between the PC's and M1XSP's serial ports). From what I can tell, there aren't any log files that I can check out or send to you. I'll play around with it a little more, but not sure what the next step is.

Edited by tgpaul - January 01 2015 at 16:37
Back to Top View tgpaul's Profile Search for other posts by tgpaul
 
dhoward
Admin Group
Admin Group
Avatar

Joined: June 29 2001
Location: United States
Online Status: Offline
Posts: 4447
Posted: January 15 2015 at 21:12 | IP Logged Quote dhoward

Paul,

Definitely sounds like you've got it connected properly. Just wondering if you could download the latest version of PowerHome and try the Elk/Insteon utility that is in the Insteon Explorer. The standalone is modeled after this one. If the PH version works and the standalone doesnt, then I must have missed something and I should be able to do a comparison.

Thanks,

Dave.
Back to Top View dhoward's Profile Search for other posts by dhoward Visit dhoward's Homepage
 

If you wish to post a reply to this topic you must first login
If you are not already registered you must first register

  Post ReplyPost New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum