Gets or sets a motor's current usage limit.
Namespace:
PhidgetsAssembly: Phidget21.NET (in Phidget21.NET.dll) Version: 2.1.9.34
Syntax
C# |
---|
public double CurrentLimit { get; set; } |
Visual Basic (Declaration) |
---|
Public Property CurrentLimit As Double |
Visual C++ |
---|
public: property double CurrentLimit { double get (); void set (double value); } |
Field Value
Requested current limit for the motor.Return Value
Currently set current limit for the motor.
Remarks
The valid range is between CurrentMin and CurrentMax.
This sets the maximum current that a motor will be allowed to draw.
Use this with the Bipolar stepper controller to get smooth micro stepping - see the product manual for more details.
This value is in Amps.
Note that this is not supported on all stepper controllers.
Exceptions
Exception | Condition |
---|---|
Phidgets..::.PhidgetException | If this Phidget is not opened and attached, if the value is unknown, or if this is not supported. |