Page 1 of 1

Phidget scripts only work once

Posted: Sat Apr 06, 2019 1:40 pm
by jcrobots
I am running Python scripts on Ubuntu 16.04 to control 2x 8/8/8 Phidgets connected over USB. My script runs correctly the first time, but if it crashes once, the channels on one Phidget will get stuck on ch.openWaitForAttachment(), and hang forever or time out.

Could this be because I'm not closing everything properly when my script crashes? Currently the only way I know to fix the issue is to reboot the entire machine. Is there a way to reset both Phidgets at the start of my program to fix this issue?

--Thanks

Re: Phidget scripts only work once

Posted: Mon Apr 08, 2019 8:36 am
by jcrobots
Duplicate of main posting at:

viewtopic.php?f=26&t=9384