Gets the stopped property of the stepper motor.
Namespace:
PhidgetsAssembly: Phidget21.NET (in Phidget21.NET.dll) Version: 2.1.9.34
Syntax
C# |
---|
public bool Stopped { get; } |
Visual Basic (Declaration) |
---|
Public ReadOnly Property Stopped As Boolean |
Visual C++ |
---|
public: property bool Stopped { bool get (); } |
Return Value
The stopped state of a motor.
Remarks
Use this to determine if the motor is moving and/or up to date with the latest commands you have sent.
If this is true, the motor is guaranteed to be stopped and to have processed every command issued.
Generally, this would be polled after a target position is set to wait until that position is reached.
Exceptions
Exception | Condition |
---|---|
Phidgets..::.PhidgetException | If this Phidget is not opened and attached. |