## Phidget Stepper.lvlib:StepperSetVelocityLimit.vi

When moving, the Stepper motor velocity will be limited by this value.

- The `VelocityLimit` is bounded by `MinVelocityLimit` and `MaxVelocityLimit`.
- When in step mode, the `MinVelocityLimit` has a value of 0. This is because the sign (±) of the `TargetPosition` will indicate the direction.
- When in run mode, the `MinVelocityLimit` has a value of -`MaxVelocityLimit`. This is because there is no target position, so the direction is defined by the sign (±) of the `VelocityLimit`.
- Units for `Position`, `Velocity`, and `Acceleration` can be set by the user through the `RescaleFactor`.The `RescaleFactor` allows you to use more intuitive units such as rotations, or degrees.
- The default units for this motor controller are 1/16steps per count.
- While `VelocityLimit` 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 `RescaleFactor` 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.

| 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 Def: 200 1062_1 (ver: 101, 102) Unipolar Stepper Controller: Min: 0 Max: 383.25 Def: 200 1063_0 (ver: 100) Bipolar Stepper Controller: Min: 0 Max: 32768 Def: 10000 1063_1 (ver: 100, 101) Bipolar Stepper Controller: Min: 0 Max: 32768 Def: 10000 1067_0 (ver: 200, 201, 202, 203, 204, 205, 206) Bipolar Stepper Controller: Min: 0 Max: 250000 Def: 10000 STC1000_0 (ver: 100, 101) Bipolar Stepper Controller: Min: 0 Max: 115000 Def: 10000 STC1000_0 (ver: 110, 111, 112, 113, 114, 121) Bipolar Stepper Controller: Min: 0 Max: 115000 Def: 10000 STC1001_0 (ver: 100, 101) Bipolar Stepper Controller: Min: 0 Max: 115000 Def: 10000 STC1001_0 (ver: 110, 111, 112, 113, 114, 115, 121) Bipolar Stepper Controller: Min: 0 Max: 115000 Def: 10000 STC1002_0 (ver: 101, 102) Bipolar Stepper Controller: Min: 0 Max: 115000 Def: 10000 STC1002_0 (ver: 110, 111, 112, 113, 114, 121) Bipolar Stepper Controller: Min: 0 Max: 115000 Def: 10000 STC1003_0 (ver: 100, 101) Bipolar Stepper Controller: Min: 0 Max: 115000 Def: 10000 STC1003_0 (ver: 110, 111, 112, 113, 114, 121) Bipolar Stepper Controller: Min: 0 Max: 115000 Def: 10000 STC1003_1 (ver: 201, 221) Bipolar Stepper Controller: Min: 0 Max: 115000 Def: 10000 STC1005_0 (ver: 100, 110) Bipolar Stepper Controller: Min: 0 Max: 115000 Def: 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.