Gets or sets a motor's acceleration.

Namespace:  Phidgets
Assembly:  Phidget21.NET (in Phidget21.NET.dll) Version: 2.1.9.34

Syntax

C#
public double Acceleration { get; set; }
Visual Basic (Declaration)
Public Property Acceleration As Double
Visual C++
public:
property double Acceleration {
	double get ();
	void set (double value);
}

Remarks

The valid range is between AccelerationMin and AccelerationMax. This controls how fast the motor changes speed. This value is in (micro)steps per second squared. 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 squared.

Exceptions

ExceptionCondition
Phidgets..::.PhidgetExceptionIf this Phidget is not opened and attached, or if acceleration is out of range.

See Also