Search Results

by shogun
Wed Apr 23, 2025 4:57 am
Forum: General
Topic: Stepper interface : python program crashes when USB is unplugged
Replies: 6
Views: 2076

Re: Stepper interface : python program crashes when USB is unplugged

Hi Patrick, I did the pip upgrade and... it works !!!
I can now disconnect then reconnect.
Congratulations and thank you for your effort, much appreciated !
Yours sincerely,
Anthony.
by shogun
Mon Apr 21, 2025 2:28 pm
Forum: General
Topic: Stepper interface : python program crashes when USB is unplugged
Replies: 6
Views: 2076

Re: Stepper interface : python program crashes when USB is unplugged

Patrick, thanks for the feedback, unfortunately, I had already upgraded the Phidgets22 install to the latest (see screenshot). The Version: 1.22.20250106 was referring to the Python API, which is already the latest version (checked with pip and on your site) I will try a linux computer for compariso...
by shogun
Mon Apr 21, 2025 8:29 am
Forum: General
Topic: Stepper interface : python program crashes when USB is unplugged
Replies: 6
Views: 2076

Re: Stepper interface : python program crashes when USB is unplugged

Hello Patrick,
thanks for investigating.
So I ran the code with logging and here is the attached logfile.
(note : I removed second open and so no more already open warning)
Yours sincerely,
Anthony.
by shogun
Tue Apr 15, 2025 10:54 am
Forum: General
Topic: Stepper interface : python program crashes when USB is unplugged
Replies: 6
Views: 2076

Stepper interface : python program crashes when USB is unplugged

Hello, first post, I'm using a stepper motor with a 4A stepper interface, in windows, under Python. Everything runs as expected, motor operates well but I have one problem : if I disconnect the USB interface while the program is running, it crashes with a recursive mutex error. Enclosed here is a my...