Search Results

by Rhybot
Thu Jul 20, 2023 11:14 pm
Forum: General
Topic: Changing event queue size from default
Replies: 6
Views: 34199

Re: Changing event queue size from default

https://www.phidgets.com/downloads/phid ... s/windows/

In phidget22-fullsource, there seems to be the full source. Is that the current version underlying Phidget22?

I am wondering if I can change the queue size there, and somehow rebuild with a bigger queue size.
by Rhybot
Thu Jul 20, 2023 4:39 pm
Forum: General
Topic: Getting size of current Phidget queue
Replies: 1
Views: 22625

Getting size of current Phidget queue

Is it possible to get the length of a Phidget queue? I am looking for ways to figure out if the queue size is slowly growing over time, or if it's suddenly blocked and spiking upwards.

I am using Phidget22 with Python 3.11.
by Rhybot
Wed Jul 19, 2023 12:30 pm
Forum: General
Topic: Changing event queue size from default
Replies: 6
Views: 34199

Re: Changing event queue size from default

Sounds good on not distributing Windows or macOS source. In my use case, I am using Python 3.11 with Phidget22 package on Windows 10, with about 10 Phidgets connected running an instrument. I think I have a multithreading issue somewhere in my application code such that one of the event handlers get...
by Rhybot
Wed Jul 19, 2023 11:07 am
Forum: General
Topic: Changing event queue size from default
Replies: 6
Views: 34199

Re: Changing event queue size from default

Hi Patrick, Thanks for the suggestion, and actually already have long-running tasks run on a thread. Yes, I don't fully understand why my queue is filling up, so I am just looking at all options. I am getting the EEPHIDGET_DISPATCH error: ```txt Phidget API emitted an error event with error event co...
by Rhybot
Tue Jul 18, 2023 12:57 pm
Forum: General
Topic: Changing event queue size from default
Replies: 6
Views: 34199

Changing event queue size from default

viewtopic.php?t=10514 asks if events are handled serially, and they are sequentially handled per-channel. It also says the event queue size is 200.

Just wondering, is it possible to change the event queue size away from 200? For example, set to 1000?
by Rhybot
Wed Dec 14, 2022 7:37 pm
Forum: All Other Phidgets
Topic: Stepper API not emitting PositionChange/Stopped if int(position) == position
Replies: 0
Views: 183603

Stepper API not emitting PositionChange/Stopped if int(position) == position

I am programmatically commanding STC1000_0 from Python via the Stepper API. My workflow for motion is: 1. Given a new target_position (float) 2. Since PositionChange and Stopped events are only emitted when motion takes place, return early if target_position == stepper_api.getPosition() 3. Call step...
by Rhybot
Tue Dec 06, 2022 4:09 pm
Forum: All Other Phidgets
Topic: Ideal Calibration for Button Load Cell 3137_0
Replies: 0
Views: 153988

Ideal Calibration for Button Load Cell 3137_0

The Calibrating Load Cells (https://www.phidgets.com/docs/Calibrating_Load_Cells#How_to_Calibrate_a_Load_Cell) page lists a formula mapping resistances to force. I am using the Button Load Cell 3137_0 (https://www.phidgets.com/?tier=3&catid=9&pcid=7&prodid=228) with Wheatstone Bridge Phi...
by Rhybot
Thu Nov 10, 2022 5:34 pm
Forum: All Other Phidgets
Topic: Offer liquid pressure sensors?
Replies: 1
Views: 27991

Offer liquid pressure sensors?

Does Phidgets currently (November 2022) sell liquid pressure sensors at all?

I need a pressure sensor that can do 0 to 200 psig and be exposed to liquid.
by Rhybot
Thu Jul 28, 2022 2:52 pm
Forum: General
Topic: Are Event handlers blocking/done serially?
Replies: 4
Views: 13435

Re: Are Event handlers blocking/done serially?

Thank you and sounds good!
by Rhybot
Wed Jul 27, 2022 12:34 pm
Forum: General
Topic: Are Event handlers blocking/done serially?
Replies: 4
Views: 13435

Re: Are Event handlers blocking/done serially?

Okay thank you for the response! > all of the events for a particular channel come from the same thread. > If you are using multiple channels, you will need to consider that events from each channel may be delivered from different threads. Both of these make sense and embodies a desirable implementa...