| Author |
Message |
|
anothersphere
Joined: Jul 01, 2009 Posts: 74
|
 Auto reconnect when connection to device lost
I am having an ongoing issue with my interface in that I lose USB connection to it. I have changed cables to no avail. I suspect the unit itself. However, my request is thus: Given Indigo detects that the interface is lost (and throws a dialogue telling me so - if I happen to be on the server mac), is there a way to trigger an interface reset and by implication, reconnect? Presently I am running a timed reset of the interface every 30 minutes. However this has scope to miss events during the reset. Without this reset it appears that indigo forgets the interface until I reset or reconnect. Is there a way to define a trigger? Applescript?
_________________ Martin Miller
Auckland - New Zealand
|
| Thu Feb 25, 2010 6:12 pm |
|
 |
|
jay (support)
Site Admin
Joined: Mar 19, 2008 Posts: 6649 Location: Austin, Texas
|
 Re: Auto reconnect when connection to device lost
Create a trigger that runs as frequently as you like. Make the condition the following AppleScript: - Code: Select all
not online
and make the action reset interface connections (I'm assuming that's what your doing now). That might work. Note, however, that Indigo does in fact attempt to reconnect several times before it gives up.
_________________ Jay (Indigo Support)
|
| Thu Feb 25, 2010 8:10 pm |
|
 |
|
anothersphere
Joined: Jul 01, 2009 Posts: 74
|
 Re: Auto reconnect when connection to device lost
Oh, cool. Thanks!
But is there chance of an infinite loop? I discover its offline by trigger, I issue a reset, and that triggers...
I will probably delay my reaction to the trigger, recheck it is still offline, and then do the reset.
_________________ Martin Miller
Auckland - New Zealand
|
| Thu Feb 25, 2010 8:34 pm |
|
 |
|
jay (support)
Site Admin
Joined: Mar 19, 2008 Posts: 6649 Location: Austin, Texas
|
 Re: Auto reconnect when connection to device lost
Well, not really an infinite loop - it will just execute the trigger over and over again as long at the interface doesn't come back on line. I wouldn't execute it any more frequently than, say, 30 seconds, but a trigger every 30 seconds won't effect your system, particularly given that the interface is offline anyhow. Bottom line: fix your interface... 
_________________ Jay (Indigo Support)
|
| Thu Feb 25, 2010 9:31 pm |
|
 |
|
anothersphere
Joined: Jul 01, 2009 Posts: 74
|
 Re: Auto reconnect when connection to device lost
Yeah, fixing is the pain, bought from Australia, I live in NZ, I have just put in a support query to see what the process is. Thanks for the info.
_________________ Martin Miller
Auckland - New Zealand
|
| Thu Feb 25, 2010 9:39 pm |
|
 |
|
matt (support)
Site Admin
Joined: Jan 27, 2003 Posts: 11689 Location: Texas
|
 Re: Auto reconnect when connection to device lost
Which specific interface model is it?
_________________
|
| Thu Feb 25, 2010 9:55 pm |
|
 |
|
anothersphere
Joined: Jul 01, 2009 Posts: 74
|
 Re: Auto reconnect when connection to device lost
230v CM15 firmware version 2
_________________ Martin Miller
Auckland - New Zealand
|
| Thu Feb 25, 2010 10:48 pm |
|
 |
|
anothersphere
Joined: Jul 01, 2009 Posts: 74
|
 Re: Auto reconnect when connection to device lost
Hmm I did not realise there is a specific trigger event 'Interface Connection Failure'. Ill just use that.
_________________ Martin Miller
Auckland - New Zealand
|
| Thu Feb 25, 2010 10:55 pm |
|
 |
|
anothersphere
Joined: Jul 01, 2009 Posts: 74
|
 Re: Auto reconnect when connection to device lost
jay wrote:....Bottom line: fix your interface...   Well when a light next to the interface failed to light up, I investigated under the furniture and discovered that the power strip it was plugged into, along with the interface was not properly plugged into the mains power, it had somehow (well by power of 19 month old fingers) become unplugged to a point where it was make and break. Basically the interface was being browned out. Hence the errors. Since replugging, no failures. However, I still have the trigger in place to reconnect/reset on interface failure after 30 sec delay, along with an email telling me so. So not a software issue, or really hardware, more a wet ware diagnostic issue.
_________________ Martin Miller
Auckland - New Zealand
|
| Tue Mar 09, 2010 3:48 am |
|
 |
|
jay (support)
Site Admin
Joined: Mar 19, 2008 Posts: 6649 Location: Austin, Texas
|
 Re: Auto reconnect when connection to device lost
The important thing is that you found the issue - great news indeed... 
_________________ Jay (Indigo Support)
|
| Tue Mar 09, 2010 8:03 am |
|
|