View unanswered posts | View active topics It is currently Mon May 20, 2013 3:33 pm



Reply to topic  [ 10 posts ] 
 Auto reconnect when connection to device lost 
Author Message

Joined: Jul 01, 2009
Posts: 74
Post 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
Profile
Site Admin
User avatar

Joined: Mar 19, 2008
Posts: 6649
Location: Austin, Texas
Post 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)
Image


Thu Feb 25, 2010 8:10 pm
Profile WWW

Joined: Jul 01, 2009
Posts: 74
Post 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
Profile
Site Admin
User avatar

Joined: Mar 19, 2008
Posts: 6649
Location: Austin, Texas
Post 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)
Image


Thu Feb 25, 2010 9:31 pm
Profile WWW

Joined: Jul 01, 2009
Posts: 74
Post 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
Profile
Site Admin
User avatar

Joined: Jan 27, 2003
Posts: 11689
Location: Texas
Post Re: Auto reconnect when connection to device lost
Which specific interface model is it?

_________________
Image


Thu Feb 25, 2010 9:55 pm
Profile WWW

Joined: Jul 01, 2009
Posts: 74
Post 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
Profile

Joined: Jul 01, 2009
Posts: 74
Post 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
Profile

Joined: Jul 01, 2009
Posts: 74
Post Re: Auto reconnect when connection to device lost
jay wrote:....Bottom line: fix your interface... ;)


:oops: 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
Profile
Site Admin
User avatar

Joined: Mar 19, 2008
Posts: 6649
Location: Austin, Texas
Post Re: Auto reconnect when connection to device lost
The important thing is that you found the issue - great news indeed... ;)

_________________
Jay (Indigo Support)
Image


Tue Mar 09, 2010 8:03 am
Profile WWW
Display posts from previous:  Sort by  
Reply to topic   [ 10 posts ] 

Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.   Template designed by STSoftware.