Hi,
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
PhidgetStepper_setEngaged(false);
PhidgetStepper_setEngaged(true);
every thing runs smoothly again......until it blocks again.
Any idea what I could be doing wrong?
Thanks!