Search Results

by stepheneb
Wed Nov 29, 2023 3:23 pm
Forum: Python
Topic: macos: KeyboardInterrupt exception not working w/Phidget22.Devices.DigitalOutput
Replies: 7
Views: 82380

Re: macos: KeyboardInterrupt exception not working w/Phidget22.Devices.DigitalOutput

Looks like the update was to the macos installer available on this page: https://www.phidgets.com/docs/Language_-_Python and not to the Python package (as I assumed).

Have installed the latest macos library and ctrl-C/sigint is now caught properly by my python program.
by stepheneb
Wed Nov 29, 2023 2:13 pm
Forum: Python
Topic: macos: KeyboardInterrupt exception not working w/Phidget22.Devices.DigitalOutput
Replies: 7
Views: 82380

Re: macos: KeyboardInterrupt exception not working w/Phidget22.Devices.DigitalOutput

That's great! When will it be deployed to pypi.org? Right now the latest here https://pypi.org/project/Phidget22/ appears to be: 1.17.20231004
by stepheneb
Sun Nov 26, 2023 12:29 pm
Forum: Python
Topic: macos: KeyboardInterrupt exception not working w/Phidget22.Devices.DigitalOutput
Replies: 7
Views: 82380

Re: macos: KeyboardInterrupt exception not working w/Phidget22.Devices.DigitalOutput

Phidget library developers: Curious if you can reproduce this bug and whether a fix might be in the works? I'd rather not have to dig into the phidget python library and fix it myself.
by stepheneb
Tue Nov 07, 2023 2:27 pm
Forum: Python
Topic: macos: KeyboardInterrupt exception not working w/Phidget22.Devices.DigitalOutput
Replies: 7
Views: 82380

macos: KeyboardInterrupt exception not working w/Phidget22.Devices.DigitalOutput

When using the following to catch ctrl-C on macos the handler is never called if I have also opened a Phidget22.Devices.DigitalOutput device. try code ... except KeyboardInterrupt ctrl-C exception handling code ... I am using a REL1100 4-channel solid state relay with a VINT HUB0000. Here's my test ...
by stepheneb
Sun Oct 15, 2023 6:01 pm
Forum: Python
Topic: 1047 encoder: setDataRate(50) is 20% slower than requested
Replies: 4
Views: 20811

Re: 1047 encoder: setDataRate(50) is 20% slower than requested

That seems to work properly when requesting a datarates of 1, 2, 48, 16, 32, 64. However when setting the datarate to 96 the effective datarate is only 63. % python3 encoder_1047.py --datarate=96 --samples=96 --channel=0 ... Channel: 0 of 1047 4-channel high-speed encoder: 'PhidgetEncoder', 96 sampl...
by stepheneb
Thu Oct 12, 2023 9:28 pm
Forum: Python
Topic: 1047 encoder: setDataRate(50) is 20% slower than requested
Replies: 4
Views: 20811

1047 encoder: setDataRate(50) is 20% slower than requested

When running the 1047 encoder at a datarate of 125 and collecting 125 samples the actual datarate as measured by accumulating the timeChange values passed to the onPositionChange() callback and dividing by the number of samples is 125.6 -- which is very close to the requested 125. However when reque...
by stepheneb
Thu Oct 12, 2023 6:22 pm
Forum: Python
Topic: 1047 encoder v200 reports firmware upgrade available, where are changes listed on site
Replies: 4
Views: 15264

Re: 1047 encoder v200 reports firmware upgrade available, where are changes listed on site

I have the same question abpout changes, bug fixes, new features for the REL1100_0 4-channel relay. Currently the two I'm using are at version 120. An upgrade to 130 is available.
by stepheneb
Thu Oct 12, 2023 4:37 pm
Forum: Python
Topic: Are there release notes for python Phidget22 updates?
Replies: 1
Views: 13258

Are there release notes for python Phidget22 updates?

Are there release notes for python Phidget22 updates?

Currently I'm using version 1.17.20230824. The most up-to-date is version 1.17.20231004. Is there a location listing the changes, bugs fixed, features improved, etc?