Search Results: Patrick

Products | Content | Learn | Forums

Searched query: patrick

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

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 Patrick
Tue Apr 22, 2025 3:56 pm
Forum: General
Topic: Stepper interface : python program crashes when USB is unplugged
Replies: 6
Views: 5123

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

Hi,

It looks like the python library got missed for the 1.22.20250324 release. I have pushed a release just now. The pip package includes it's own copy of the native library, and you can see what version is being run from the logfile. Let me know if that fixes the issue.

-Patrick
by shogun
Mon Apr 21, 2025 2:28 pm
Forum: General
Topic: Stepper interface : python program crashes when USB is unplugged
Replies: 6
Views: 5123

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 ...
by Patrick
Mon Apr 21, 2025 10:33 am
Forum: General
Topic: Stepper interface : python program crashes when USB is unplugged
Replies: 6
Views: 5123

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

Hi,

I believe this error has been fixed as of the 1.22.20250324 release - can you try updating your libraries?

-Patrick
by shogun
Mon Apr 21, 2025 8:29 am
Forum: General
Topic: Stepper interface : python program crashes when USB is unplugged
Replies: 6
Views: 5123

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 Patrick
Thu Apr 17, 2025 3:58 pm
Forum: General
Topic: Stepper interface : python program crashes when USB is unplugged
Replies: 6
Views: 5123

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

... you would normally register event handler before calling open. You may also want to try the latest libraries and see if the problems persists. -Patrick
by nm17
Wed Apr 09, 2025 8:55 am
Forum: C#
Topic: Bug in Phidget NuGet since Sep 2024?
Replies: 4
Views: 7036

Re: Bug in Phidget NuGet since Sep 2024?

Thanks Patrick - it all works now as expected - it seems it was a combination of VS glitch/needing-deep-reset-of-environment and me not realising that I should look for the runtimes folder in Release.

Thank you
by Patrick
Tue Apr 08, 2025 2:49 pm
Forum: C#
Topic: Bug in Phidget NuGet since Sep 2024?
Replies: 4
Views: 7036

Re: Bug in Phidget NuGet since Sep 2024?

... folder: \bin\Release\Phidget22.NET.dll \bin\Release\runtimes\win-x64\native\phidget22.dll \bin\Release\runtimes\win-x86\native\phidget22.dll -Patrick
by nm17
Tue Apr 08, 2025 12:41 pm
Forum: C#
Topic: Bug in Phidget NuGet since Sep 2024?
Replies: 4
Views: 7036

Re: Bug in Phidget NuGet since Sep 2024?

Thanks Patrick, it's .NET Framework (net481) so I guess I need to copy native DLLs from the Nuget store. Note that native dlls do not get included during build process into eg bin\Release folder which is unusual. So if I copy ...
by Patrick
Tue Apr 08, 2025 10:39 am
Forum: C#
Topic: Bug in Phidget NuGet since Sep 2024?
Replies: 4
Views: 7036

Re: Bug in Phidget NuGet since Sep 2024?

... manual work to make sure the native library is in the right location during packaging (although I would expect it to just work here as well). -Patrick