## Phidget Stepper.lvlib:StepperSetControlMode.vi

Use step mode when you want to set a `TargetPosition` for the Stepper motor. Use run mode when you simply want the Stepper motor to rotate continuously in a specific direction.Changing the control mode will always set your `VelocityLimit` to zero to prevent unexpected behaviour, so you should always set control mode before choosing your velocity limit.

| 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 | STC1000_0 v100
| STC1001_0 v100 | STC1002_0 v101 | STC1003_0 v100
CONTROL_MODE_STEP | 0 | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓
CONTROL_MODE_RUN | 1 | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓

1062_0 (ver: 101) Unipolar Stepper Controller: Def: CONTROL_MODE_STEP

1062_1 (ver: 101, 102) Unipolar Stepper Controller: Def: CONTROL_MODE_STEP

1063_0 (ver: 100) Bipolar Stepper Controller: Def: CONTROL_MODE_STEP

1063_1 (ver: 100, 101) Bipolar Stepper Controller: Def: CONTROL_MODE_STEP

1067_0 (ver: 200, 201) Bipolar Stepper Controller: Def: CONTROL_MODE_STEP

STC1000_0 (ver: 100) Bipolar Stepper Controller: Def: CONTROL_MODE_STEP

STC1001_0 (ver: 100) Bipolar Stepper Controller: Def: CONTROL_MODE_STEP

STC1002_0 (ver: 101) Bipolar Stepper Controller: Def: CONTROL_MODE_STEP

STC1003_0 (ver: 100) Bipolar Stepper Controller: Def: 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.