Page 2 of 2

Re: 1012 Detaching Sporadically

Posted: Fri Dec 16, 2016 2:28 pm
by Patrick
From the log it looks like there are 2 detaches happening - are the 1012 and 1067 both detaching at the same time?

-Patrick

Re: 1012 Detaching Sporadically

Posted: Fri Dec 16, 2016 9:39 pm
by Meijin
I'm not sure I didn't think they both were but I will check on Monday. Thanks for the quick help!

Re: 1012 Detaching Sporadically

Posted: Mon Dec 19, 2016 2:56 pm
by Meijin
I installed event ghost and did some testing.

Unplugged 1012:
System.DeviceRemoved [u'\\\\?\\HID#VID_06C2&PID_0044#7&228b4ec0&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030}']
System.DeviceRemoved [u'\\\\?\\USB#VID_06C2&PID_0044#443987#{a5dcbf10-6530-11d2-901f-00c04fb951ed}']

Plugged 1012 In:
System.DeviceAttached [u'\\\\?\\USB#VID_06C2&PID_0044#443987#{a5dcbf10-6530-11d2-901f-00c04fb951ed}']
System.DeviceAttached [u'\\\\?\\HID#VID_06C2&PID_0044#7&228b4ec0&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030}']

Unplugged 1067:
System.DeviceRemoved [u'\\\\?\\HID#VID_06C2&PID_007B#7&2fcc5482&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030}']
System.DeviceRemoved [u'\\\\?\\USB#VID_06C2&PID_007B#346635#{a5dcbf10-6530-11d2-901f-00c04fb951ed}']

Plugged 1067 In:
System.DeviceAttached [u'\\\\?\\USB#VID_06C2&PID_007B#346635#{a5dcbf10-6530-11d2-901f-00c04fb951ed}']
System.DeviceAttached [u'\\\\?\\HID#VID_06C2&PID_007B#7&2fcc5482&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030}']

Detach when running program:
System.DeviceRemoved [u'\\\\?\\USB#VID_0403&PID_6001#6&264bd72b&0&1#{a5dcbf10-6530-11d2-901f-00c04fb951ed}']
System.DeviceRemoved [u'\\\\?\\HID#VID_06C2&PID_0044#7&228b4ec0&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030}']
System.DeviceRemoved [u'\\\\?\\USB#VID_06C2&PID_0044#443987#{a5dcbf10-6530-11d2-901f-00c04fb951ed}']
System.DeviceRemoved [u'\\\\?\\HID#VID_06C2&PID_007B#7&2fcc5482&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030}']
System.DeviceRemoved [u'\\\\?\\USB#VID_06C2&PID_007B#346635#{a5dcbf10-6530-11d2-901f-00c04fb951ed}']
System.DeviceAttached [u'\\\\?\\USB#VID_06C2&PID_007B#346635#{a5dcbf10-6530-11d2-901f-00c04fb951ed}']
System.DeviceAttached [u'\\\\?\\USB#VID_06C2&PID_0044#443987#{a5dcbf10-6530-11d2-901f-00c04fb951ed}']
System.DeviceAttached [u'\\\\?\\USB#VID_0403&PID_6001#6&264bd72b&0&1#{a5dcbf10-6530-11d2-901f-00c04fb951ed}']
System.DeviceAttached [u'\\\\?\\HID#VID_06C2&PID_007B#7&2fcc5482&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030}']
System.DeviceAttached [u'\\\\?\\HID#VID_06C2&PID_0044#7&228b4ec0&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030}']

Toggling Door Solenoid:

System.DeviceRemoved [u'\\\\?\\USB#VID_0403&PID_6001#6&264bd72b&0&1#{a5dcbf10-6530-11d2-901f-00c04fb951ed}']
System.DeviceAttached [u'\\\\?\\USB#VID_0403&PID_6001#6&264bd72b&0&1#{a5dcbf10-6530-11d2-901f-00c04fb951ed}']
System.DeviceRemoved [u'\\\\?\\USB#VID_0403&PID_6001#6&264bd72b&0&1#{a5dcbf10-6530-11d2-901f-00c04fb951ed}']
System.DeviceRemoved [u'\\\\?\\HID#VID_06C2&PID_0044#7&228b4ec0&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030}']
System.DeviceRemoved [u'\\\\?\\USB#VID_06C2&PID_0044#443987#{a5dcbf10-6530-11d2-901f-00c04fb951ed}']
System.DeviceRemoved [u'\\\\?\\HID#VID_06C2&PID_007B#7&2fcc5482&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030}']
System.DeviceRemoved [u'\\\\?\\USB#VID_06C2&PID_007B#346635#{a5dcbf10-6530-11d2-901f-00c04fb951ed}']
System.DeviceAttached [u'\\\\?\\USB#VID_06C2&PID_007B#346635#{a5dcbf10-6530-11d2-901f-00c04fb951ed}']
System.DeviceAttached [u'\\\\?\\USB#VID_06C2&PID_0044#443987#{a5dcbf10-6530-11d2-901f-00c04fb951ed}']
System.DeviceAttached [u'\\\\?\\USB#VID_0403&PID_6001#6&264bd72b&0&1#{a5dcbf10-6530-11d2-901f-00c04fb951ed}']
System.DeviceAttached [u'\\\\?\\HID#VID_06C2&PID_007B#7&2fcc5482&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030}']
System.DeviceAttached [u'\\\\?\\HID#VID_06C2&PID_0044#7&228b4ec0&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030}']

Re: 1012 Detaching Sporadically

Posted: Mon Dec 19, 2016 3:00 pm
by Meijin
I was not the one who wired this device, but I just checked and it looks like the diodes are missing. The ones that are shown to be across the solenoids. I was not able to get any disconnects stress testing the inputs, but when I toggled one of the outputs a few times with out activating any of the inputs I was able to get disconnects. How likely do you think the missing diodes are the cause?

Re: 1012 Detaching Sporadically

Posted: Tue Dec 20, 2016 9:11 pm
by Patrick
If 1067 is disconnecting as well, it's EMI. Maybe wiring with usb cables tightly zip-tied in? Installing the diodes might help a little.

I would recommend you put plenty of ferrites on USB cables, from hub to pc, hub to devices, and the hub-5v power supply line. No reason they can't put 5 ferrites along the length of every cable. Also, if you aren't using our USB cables, there could be issues with shielding construction of the cables.

Re: 1012 Detaching Sporadically

Posted: Wed Jan 18, 2017 9:13 am
by Meijin
So I ended up ditching the USB hub and connected the phidgets directly to the computer. (Originally I had the hub so that I only had one USB cord to route out of the control box.) For the past couple of days I haven't any sporadic detaches. Before this I had tried three different hubs and with each one I got detaches. So it looks like there was some weird interaction between the hubs and the computer.