Gets or sets a motor's velocity limit.
Namespace:
PhidgetsAssembly: Phidget21.NET (in Phidget21.NET.dll) Version: 2.1.9.34
Syntax
C# |
---|
public double VelocityLimit { get; set; } |
Visual Basic (Declaration) |
---|
Public Property VelocityLimit As Double |
Visual C++ |
---|
public: property double VelocityLimit { double get (); void set (double value); } |
Remarks
This is the maximum velocity that the motor will turn at. The valid range is between VelocityMin and VelocityMax,
with 0 being stopped.
This value is in (micro)steps per second. The step unit will depend on the Stepper Controller.
For example, the Bipolar Stepper controller has an accuracy of 16th steps, so this value would be in 16th steps per second.
Exceptions
Exception | Condition |
---|---|
Phidgets..::.PhidgetException | If this Phidget is not opened and attached, or if the value is out of range. |