|
|
|
Philips Pronto Professional Forum - View Post
|
|
|
|
|
|
|
The following page was printed from RemoteCentral.com:
Topic: | Strange serial errors This thread has 4 replies. Displaying all posts. |
|
Post 1 made on Tuesday May 25, 2010 at 18:40 |
MCFH Long Time Member |
Joined: Posts: | December 2009 35 |
|
|
Hi, Has anyone any ideas on the following. I have written a complex RS-232 script to control a CBUS lighting system. I persist a oSerial object which is a CF.extender[x].serial[y] as a variable in my module. When my Pronto's screen blacks out and I then activate it. I immediately get the onError handler thrown with Line number 0 and the message 'Failed'.
I have added an onWake handler to reinitialize the port to no avail. Would I have to reinitialize the oSerial object between 'sleep' events?
Thanks Mark
|
|
Post 2 made on Tuesday May 25, 2010 at 18:57 |
Lyndel McGee RC Moderator |
Joined: Posts: | August 2001 12,994 |
|
|
Mark, in theory you should not have to reinitialize but I have not seen your code so I cannot comment on the error. Use try/catch to isolate the problem in the debugger or using Barry's base station mod/console debugger if possible...
Also, you did not post any info about what remote, firware on remote, or firmware on extender. Fixed IP vs DHCP, router, etc... Might also help provide us with some clues.
|
Lyndel McGee Philips Pronto Addict/Beta Tester
|
|
OP | Post 3 made on Wednesday May 26, 2010 at 02:11 |
MCFH Long Time Member |
Joined: Posts: | December 2009 35 |
|
|
Lyndel, Thanks - a 9400 with the latest firmware on both remote and extender, all devices running DHCP with a Netgear JGS 516 gigabit switch and a Belkin F5D7132v1 wireless access point.
As it is a 9400 I can't do the console mod debugger :(
All the calls to serial methods are in try... catch blocks which aren't invoked even if I don't attach an error handler and I also have a function that waits for the input.get method to not assert to ensure the extender is present and operational.
I could email you the code but it is pretty long now and won't work without a CBUS network.
Regards Mark
|
|
Post 4 made on Wednesday May 26, 2010 at 02:39 |
Guy Palmer Active Member |
Joined: Posts: | June 2008 648 |
|
|
Depending on how you've organised your configuration, one possible workaround would simply be to keep the backlight on perpetually when you are on the C-Bus page. That way, the Pronto doesn't go to sleep when on that page.
|
|
OP | Post 5 made on Friday May 28, 2010 at 02:17 |
MCFH Long Time Member |
Joined: Posts: | December 2009 35 |
|
|
Resolved it - my page startup script was emitting IR via the extender while the polling was happening in the background.
Thanks all for your help
Mark
|
|
|
Before you can reply to a message... |
You must first register for a Remote Central user account - it's fast and free! Or, if you already have an account, please login now. |
Please read the following: Unsolicited commercial advertisements are absolutely not permitted on this forum. Other private buy & sell messages should be posted to our Marketplace. For information on how to advertise your service or product click here. Remote Central reserves the right to remove or modify any post that is deemed inappropriate.
|
|
|
|