PDA

View Full Version : Device communication error as an event



FearTheDentist
February 22nd, 2008, 10:03 PM
Every once in a while G5 will stop communicating with my Denon 3808CI receiver. When it does resetting the scripting engine fixes the problem. G5 checks the power state of the receiver once per minute, and if there is a communications error returns this code in the Lua console:

Serial: Denon AVR : ERROR: No response to last command

I want to use this as an event to tell G5 to reset the scripting engine.
So- 3 questions:

1) How do I set this up as an event
2) How do I tell G5 to reset the scripting engine (no action is defined for this)
3) is there a better way for me to do this (there probably is...)

Thanks!

Francois
February 23rd, 2008, 01:32 AM
I'm also experiencing a similar issue with the G5 script I wrote for my Rotel receiver, and would be keen to see if there is a way to fix this from within Girder (I'm not sure if the issue is with Girder or with the drivers of the USB<->Serial adapter, which may be another route to explore).