Active TopicsActive Topics  Display List of Forum MembersMemberlist  Search The ForumSearch  HelpHelp
  RegisterRegister  LoginLogin
PowerHome General
 PowerHome Messageboard : PowerHome General
Subject Topic: ph_comopen() - error - What is a 3? Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
smarty
Super User
Super User
Avatar

Joined: May 21 2006
Location: United States
Online Status: Offline
Posts: 728
Posted: September 08 2009 at 20:31 | IP Logged Quote smarty

See the picture below. Anyone know what a ph_comopen() error 3 is?



I recently purchased a QUATECH ThinkQ QSE-100D-BA 4 Port RS-232 Serial Server. See
cocoontech topic link.

The driver for Vista installed fine; I can see all 4 ports. I have even got my touch panel (on my PowerHome machine) using one of the ports...so I really expected PH to have no issues. I have checked port settings, 9600 8n1...so they should match what I am trying to open with my formula.

I do control ALOT of serial ports with this machine. Presently the Quatech ports are numbered 19-22. For my above formula, AVR GAME COM NUM = 3 and AVR GAME PORT NUM = 19.

Help???

__________________
Elk - Insteon - BlueIris - DMC1 - PowerHome - XLobby - HA_Bridge w/Dots - Brultech
Back to Top View smarty's Profile Search for other posts by smarty
 
dhoward
Admin Group
Admin Group
Avatar

Joined: June 29 2001
Location: United States
Online Status: Offline
Posts: 4447
Posted: September 08 2009 at 23:36 | IP Logged Quote dhoward

Smarty,

The COM functions in PowerHome all use the Microsoft MSCOMM control version 6.0. This control only supports COM ports 1 to 16. However, there is a 1 byte modification that can be made to the existing file to allow it to support COM ports 1 to 256. You can search for the mod on the web or send me an email and I'll send you an already modded version of mscomm32.ocx.

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

Joined: May 21 2006
Location: United States
Online Status: Offline
Posts: 728
Posted: September 09 2009 at 22:57 | IP Logged Quote smarty

Dave,
Wow....all I can say is wow!!!

I sent you a PM with my e-mail.

THANKS!!!!

Steve

__________________
Elk - Insteon - BlueIris - DMC1 - PowerHome - XLobby - HA_Bridge w/Dots - Brultech
Back to Top View smarty's Profile Search for other posts by smarty
 
smarty
Super User
Super User
Avatar

Joined: May 21 2006
Location: United States
Online Status: Offline
Posts: 728
Posted: September 10 2009 at 12:48 | IP Logged Quote smarty

Update:
I was able to re-number some of my COM's. I now can keep them below number 16. No nodified file will be needed.



__________________
Elk - Insteon - BlueIris - DMC1 - PowerHome - XLobby - HA_Bridge w/Dots - Brultech
Back to Top View smarty's Profile Search for other posts by smarty
 

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