I'm testing HouseBot v2.32 , sometime if i try to send X10 command to CM12U , it will have following error :
[Debug] Sending X10 Command - Begin
[Debug] Sending X10 Command Part 1
[Debug] --> Read Pending... WriteData. 2 bytes
[Debug] Writing [2] bytes [04 ea]
[Debug] CSerialPort::ReadData() is requesting 1 bytes and there are only 0 bytes [] in the [Solicited] read buffer. Waited 10 seconds.
[Debug] The [Unsolicited] Buffer contains 0 bytes [].
[Debug] Error reading COM port. Error = Insufficient data in read buffer
[Debug] Due to an error, Device [Living Room B4] Property [Direct X10 Command] DID NOT change.
But the error happen ramdomly. Sometime work , sometime have error.
And I alrady use ActiveHome test the CM12U , it work , no problem and already check with the CM12U's internal clock .
Can anyone help me ?
Thank you so much.
Kevin Lo
Need help on CM12U (UK Version) , some error....
-
- HouseBot Special Member
- Posts: 304
- Joined: Wed May 07, 2003 2:19 pm
- Location: Tel-Aviv, Israel
- Contact:
I don't use X10, so I'm only guessing here.
The error message looks like a communication error.
You may want to check if:
- Is it possible to decrese the communication speed? Some devices allow to set the coomunication speed.
- When does the problem occur? Do you activate some devices when it happens? Shutters and other engines may cause interferences.
- Do you run a long serial cable?
- Do you have high voltage cables running alongside communication lines?
- If you have other USB devices connected to the USB hub, try to disconnect them and see if it has any effect.
The error message looks like a communication error.
You may want to check if:
- Is it possible to decrese the communication speed? Some devices allow to set the coomunication speed.
- When does the problem occur? Do you activate some devices when it happens? Shutters and other engines may cause interferences.
- Do you run a long serial cable?
- Do you have high voltage cables running alongside communication lines?
- If you have other USB devices connected to the USB hub, try to disconnect them and see if it has any effect.
Thanks Yaccri.yaccri wrote:I don't use X10, so I'm only guessing here.
The error message looks like a communication error.
You may want to check if:
- Is it possible to decrese the communication speed? Some devices allow to set the coomunication speed.
- When does the problem occur? Do you activate some devices when it happens? Shutters and other engines may cause interferences.
- Do you run a long serial cable?
- Do you have high voltage cables running alongside communication lines?
- If you have other USB devices connected to the USB hub, try to disconnect them and see if it has any effect.
If I use CM12U USB version , the problem is improve a lot. Around send 30 ~ 40 X10 command will happen one error.
If I use CM12U RS232 version and connect to on-board \ add-on PCI serial port , the problem solve. I test to send over 100 X10 command , never have this errror.
So I think the problem is cause by USB --> RS232 convertor .
Thanks