## Phidget Stepper.lvlib:StepperSetControlMode.vi

This setting changes how the controller moves your motor.

- In `CONTROL_MODE_STEP`, a `StepperTargetPosition` is specified and the controller moves the motor toward the target.
- In `CONTROL_MODE_RUN`, the controller continuously rotates the motor in a direction that is specified by the a `StepperVelocityLimit`.

For more information about `StepperControlMode`, visit our Stepper API Guide.

| 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.

| Control Mode The control mode value
Enumeration Values
Name | Value | Supported Devices
--- | --- | ---
1062_0 v101 | 1062_1 v101 v102 | 1063_0 v100 | 1063_1 v100 v101 | 1067_0 v200 v201 v202 v203 v204 v205 v206 | STC1000_0 v100 v101 | STC1000_0 v110 v111 v112 v113 v114 v121 v122 | STC1001_0 v100 v101 | STC1001_0 v110 v111 v112 v113 v114 v115 v121 v122 | STC1002_0 v101 v102 | STC1002_0 v110 v111 v112 v113 v114 v121 v122 | STC1003_0 v100 v101 | STC1003_0 v110 v111 v112 v113 v114 v121 v122 | STC1003_1 v201 v221 v222 | STC1005_0 v100 | STC1005_0 v110 v111
CONTROL_MODE_STEP | 0 | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓
CONTROL_MODE_RUN | 1 | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓
1062_0 (ver: 101) Unipolar Stepper Controller: Default: CONTROL_MODE_STEP 1062_1 (ver: 101, 102) Unipolar Stepper Controller: Default: CONTROL_MODE_STEP 1063_0 (ver: 100) Bipolar Stepper Controller: Default: CONTROL_MODE_STEP 1063_1 (ver: 100, 101) Bipolar Stepper Controller: Default: CONTROL_MODE_STEP 1067_0 (ver: 200, 201, 202, 203, 204, 205, 206) Bipolar Stepper Controller: Default: CONTROL_MODE_STEP STC1000_0 (ver: 100, 101) Bipolar Stepper Controller: Default: CONTROL_MODE_STEP STC1000_0 (ver: 110, 111, 112, 113, 114, 121, 122) Bipolar Stepper Controller: Default: CONTROL_MODE_STEP STC1001_0 (ver: 100, 101) Bipolar Stepper Controller: Default: CONTROL_MODE_STEP STC1001_0 (ver: 110, 111, 112, 113, 114, 115, 121, 122) Bipolar Stepper Controller: Default: CONTROL_MODE_STEP STC1002_0 (ver: 101, 102) Bipolar Stepper Controller: Default: CONTROL_MODE_STEP STC1002_0 (ver: 110, 111, 112, 113, 114, 121, 122) Bipolar Stepper Controller: Default: CONTROL_MODE_STEP STC1003_0 (ver: 100, 101) Bipolar Stepper Controller: Default: CONTROL_MODE_STEP STC1003_0 (ver: 110, 111, 112, 113, 114, 121, 122) Bipolar Stepper Controller: Default: CONTROL_MODE_STEP STC1003_1 (ver: 201, 221, 222) Bipolar Stepper Controller: Default: CONTROL_MODE_STEP STC1005_0 (ver: 100) Bipolar Stepper Controller: Default: CONTROL_MODE_STEP STC1005_0 (ver: 110, 111) Bipolar Stepper Controller: Default: CONTROL_MODE_STEP

| 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.