Gets or sets the Velocity property of the motor.
Namespace:
PhidgetsAssembly: Phidget21.NET (in Phidget21.NET.dll) Version: 2.1.9.34
Syntax
C# |
---|
public double Velocity { get; set; } |
Visual Basic (Declaration) |
---|
Public Property Velocity As Double |
Visual C++ |
---|
public: property double Velocity { double get (); void set (double value); } |
Remarks
The valid range is -100 - 100, with 0 being stopped. This corresponds to PWM duty cycle.
Exceptions
Exception | Condition |
---|---|
Phidgets..::.PhidgetException | If this Phidget is not opened and attached. |