Asked — Edited
Resolved Resolved by Synthiam Support!

Connection Control Button Color Change For Lost USB Connections

Hello,  In my ARC project I connect three EZBs mounted on my robot directly to the computer through USB, not WIFI. Recently while working through connection issues with one of my USB connections I noticed in the "ARC Connection Control" that if I lost that troubled connection it's button would stay green. This would indicate it's still connected leading me to believe all is well and connected. However it's actually been disconnected. After I realized that it may not be a working connection I run a script with the Javascript command

EZB.isConnected(ezbIndex)

only to get an answer confirming that the connection is not active.

In contrast, when I used to connect to WIFI and lost a connection this button in the Connection Control would go from green to clear (no color).

Is is possible to have the connection button to turn from green to clear (no color) when a USB connection is lost like is does when a WIFI connection is lost?

Thanks for the consideration.


ARC Pro

Upgrade to ARC Pro

Don't limit your robot's potential – subscribe to ARC Pro and transform it into a dynamic, intelligent machine.

#9  

Hi and sorry for the delayed response.

I've not been able to work on this particular issue to confirm anything or get answers to your questions. However I am grateful for your help and information. It all really helped.

I've been running down a bunch of gremlins in my robot that started popping up at the same time I posted this request about the connection control and the button color indicating a connection or not. Stuff like slow control response between ARC and EZB, electronic noise and power hum in the sound system and intermittent connection issues. After days of troubleshooting, testing and confirming proper operation of devices, voltages, grounds, cabling and wiring I found the culprit. It all came down one of my three EZB's slowly going bad and finally failing by being unable to connect through USB or WIFI.

If you remember, a few weeks ago I had posted a question about one of my EZB's ticking loudly (sorry I can't find that post). Well, the EZB that failed is the one that was ticking. As it turns out, all the above problems stopped once this EZB became unreachable through USB. Also the ticking that had been going on for a while stopped at the same time. I reset the EZB and tried to reach it over Wifi (AP Mode) and ARC would not connect that way either.

So, after all the testing I suspected a bad EZB and replaced it with my standby unit. After reconfiguring the new unit to connect through USB and making some other perfired setting changes, everything in the robot is working normally again. Yay!  Solid connections to all three EZB's every time, no noise in the sound system and quick robot response when a command is sent.

So, full circle to the subject of this post. The connection problem I mentioned in my first post, asking for a visual button color change when connection was lost, was the connection to this problem child EZB. Odd that this EZB communicated sometimes just fine, then sporadically, then not at all . One good thing came out of all this. No more ticking. LOL.