Blocked Stepper Controller

C, C++, and Visual C++
Fresh meat
Posts: 1
Joined: Tue Jun 25, 2019 8:33 am

Blocked Stepper Controller

Postby PSoares » Tue Jun 25, 2019 8:45 am


I'm having a problem where a stepper simply blocks.

I'm using 12 stepper controllers attached to 2 VINT Hubs connected via USB to a PC.

My application forces me to send each stepper a target position every 50ms.
Velocity and acceleration are not changed.
I'm using PhidgetStepper_setTargetPosition_async and also tried PhidgetStepper_setTargetPosition with the same results.

Using Qt c++ and each PhidgetStepperHandle is controlled by a different thread so I don't block myUI.

Everything runs smoothly for a while but eventually steppers start blocking.

I get no error event.
PhidgetStepper_getIsMoving returns 1
PhidgetStepper_getEngaged returns 1
and PhidgetStepper_getVelocity returns non zero
PhidgetStepper_getPosition never changes while it is blocked.

The only way I have to "reboot" the stepper is

every thing runs smoothly again......until it blocks again.

Any idea what I could be doing wrong?


User avatar
Lead Developer
Posts: 3207
Joined: Mon Jun 20, 2005 8:46 am
Location: Canada

Re: Blocked Stepper Controller

Postby Patrick » Wed Jul 03, 2019 8:33 am

There was a firmware bug which was fixed. Have you upgraded to the latest firmware? Install the latest control panel and and upgrades will show in red. Double click to install.


Return to “C/C++”

Who is online

Users browsing this forum: No registered users and 1 guest