Author |
|
JonathanC Newbie
Joined: June 08 2005
Online Status: Offline Posts: 2
|
Posted: June 08 2005 at 12:13 | IP Logged
|
|
|
I'm running 1.03.4.2, and am getting timeout errors when I try to send x10 commands, either through the Control Center or the Palm Pad. Generally, I can send one code fine after starting PH, then I get timeouts after that.
Sometimes the code is still sent, but I always get the timeout error. I think (not sure) this started when the computer OS was upgraded from win98 to XP home. Any suggestions?
Thanks!
Jonathan
|
Back to Top |
|
|
dhoward Admin Group
Joined: June 29 2001 Location: United States
Online Status: Offline Posts: 4447
|
Posted: June 10 2005 at 15:45 | IP Logged
|
|
|
Jonathan,
I see from the title that you're using a PowerLinc, but is it the serial version or the USB one?
Let me know what type it is and I'll start tracing the appropriate code. I cant think offhand on either version what would cause the timeouts when changing from 98 to XP but Im sure we'll get it worked out.
Dave.
|
Back to Top |
|
|
JonathanC Newbie
Joined: June 08 2005
Online Status: Offline Posts: 2
|
Posted: June 12 2005 at 15:44 | IP Logged
|
|
|
Sorry; forgot there were several types. I'm using the RS-232 version. You said in an earlier post that timeout errors like this could be the result of PH not being able to get full control of the serial port. Could PH not be releasing the port fully after the first successful command, causing subsequent commands to act like the port is already in use (because it is)? Just fishing here...
Thanks!
Jonathan
|
Back to Top |
|
|
dhoward Admin Group
Joined: June 29 2001 Location: United States
Online Status: Offline Posts: 4447
|
Posted: June 12 2005 at 22:34 | IP Logged
|
|
|
Jonathan,
Ok, Ive started checking the PowerLinc RS-232 code. Is the message you're getting "A timeout occurred while waiting for the Controller to play the X10 code"?
You say the first command works fine, but all subsequent commands fail. Does the address command fail, the function command or both? You could check this for me by opening the "Formula Evaluator" and typing the following formula:
ph_x10(1,"A",1,0)
This will send an A1 address command. Verify if this works.
Next try sending:
ph_x10(1,"A",102,0)
This will send an A On command.
Let me know if 1 or both of these fail.
Once PowerHome opens the serial port, it keeps it open until it disconnects from the controller. So after sending a command, it never releases the port. You wouldnt happen to be running other software that is also opening or monitoring the same serial port that the PowerLinc is on would you? If so, this would definately be the problem as PowerHome needs full control of the port.
Let me know if that is the error message and how the testing goes.
Thanks,
Dave.
|
Back to Top |
|
|