## Phidget Stepper.lvlib:StepperSetVelocityLimit.vi

The controller will limit the motor's velocity to this value.

- When `CONTROL_MODE_STEP` is selected, the `StepperMinVelocityLimit` has a value of 0. This is because the sign (±) of the `StepperTargetPosition` will indicate the direction.
- When in `CONTROL_MODE_RUN`, the `StepperMinVelocityLimit` has a value of -1 * `StepperMaxVelocityLimit`. This is because there is no `StepperTargetPosition`, so the direction is defined by the sign (±) of the `StepperVelocityLimit`.
- While `StepperVelocityLimit` is listed as a double, it is rounded down to an integer number of 1/16th steps when sent to the board since the board is limited by a minimum unit of 1/16th steps/s. This is especially important to consider when using different `StepperRescaleFactor` values where converting to units of, for example, RPM results in 1.5RPM (80 1/16th steps/s) and 1.509375 RPM (80.5 1/16th steps/s) both being sent to the board as 80 1/16th steps/s.
- Use the `StepperRescaleFactor` to convert the units of this property into more intuitive units such as rotations or degrees.

| Device In Device # Identification

| error in (no error) error in can accept error information wired from VIs previously called.

| status status is TRUE (X) if an error occurred or FALSE (checkmark) to indicate a warning or that no error occurred. Right-click the error in control on the front panel and select Explain Error or Explain Warning from the shortcut menu for more information about the error.

| code code is the error or warning code. Right-click the error in control on the front panel and select Explain Error or Explain Warning from the shortcut menu for more information about the error.

| source source describes the origin of the error or warning. Right-click the error in control on the front panel and select Explain Error or Explain Warning from the shortcut menu for more information about the error.

| Velocity Limit Velocity limit 1062_0 (ver: 101) Unipolar Stepper Controller: Min: 0 Max: 383.25 Default: 200 1062_1 (ver: 101, 102) Unipolar Stepper Controller: Min: 0 Max: 383.25 Default: 200 1063_0 (ver: 100) Bipolar Stepper Controller: Min: 0 Max: 32768 Default: 10000 1063_1 (ver: 100, 101) Bipolar Stepper Controller: Min: 0 Max: 32768 Default: 10000 1067_0 (ver: 200, 201, 202, 203, 204, 205, 206) Bipolar Stepper Controller: Min: 0 Max: 250000 Default: 10000 STC1000_0 (ver: 100, 101) Bipolar Stepper Controller: Min: 0 Max: 115000 Default: 10000 STC1000_0 (ver: 110, 111, 112, 113, 114, 121, 122) Bipolar Stepper Controller: Min: 0 Max: 115000 Default: 10000 STC1001_0 (ver: 100, 101) Bipolar Stepper Controller: Min: 0 Max: 115000 Default: 10000 STC1001_0 (ver: 110, 111, 112, 113, 114, 115, 121, 122) Bipolar Stepper Controller: Min: 0 Max: 115000 Default: 10000 STC1002_0 (ver: 101, 102) Bipolar Stepper Controller: Min: 0 Max: 115000 Default: 10000 STC1002_0 (ver: 110, 111, 112, 113, 114, 121, 122) Bipolar Stepper Controller: Min: 0 Max: 115000 Default: 10000 STC1003_0 (ver: 100, 101) Bipolar Stepper Controller: Min: 0 Max: 115000 Default: 10000 STC1003_0 (ver: 110, 111, 112, 113, 114, 121, 122) Bipolar Stepper Controller: Min: 0 Max: 115000 Default: 10000 STC1003_1 (ver: 201, 221, 222) Bipolar Stepper Controller: Min: 0 Max: 115000 Default: 10000 STC1005_0 (ver: 100) Bipolar Stepper Controller: Min: 0 Max: 115000 Default: 10000 STC1005_0 (ver: 110, 111) Bipolar Stepper Controller: Min: 0 Max: 115000 Default: 10000

| Device Out Same as Device In

| error out error out passes error or warning information out of a VI to be used by other VIs.

| status status is TRUE (X) if an error occurred or FALSE (checkmark) to indicate a warning or that no error occurred. Right-click the error out control on the front panel and select Explain Error or Explain Warning from the shortcut menu for more information about the error.

| code code is the error or warning code. Right-click the error out control on the front panel and select Explain Error or Explain Warning from the shortcut menu for more information about the error.

| source source describes the origin of the error or warning. Right-click the error out control on the front panel and select Explain Error or Explain Warning from the shortcut menu for more information about the error.