## Phidget Motor Position Controller.lvlib:MotorPositionControllerSetIOMode.vi

The encoder interface mode. Match the mode to the type of encoder you have attached.

- It is recommended to only change this when the encoder disabled in order to avoid unexpected results.

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

| IO Mode The IO mode value.
Enumeration Values
Name | Value | Supported Devices
--- | --- | ---
DCC1000_0 v204 v205 v206 | DCC1000_0 v210 v211 v220 | DCC1001_0 v114 v116 v117 | DCC1001_0 v120 v130 | DCC1002_0 v100 v101 v102 | DCC1002_0 v111 v120 | DCC1100_0 v113 v114 | DCC1100_0 v120 v121 v130
ENCODER_IO_MODE_PUSH_PULL | 1 | ✓ | ✓ | X | X | X | X | X | X
ENCODER_IO_MODE_LINE_DRIVER_2K2 | 2 | ✓ | ✓ | X | X | X | X | X | X
ENCODER_IO_MODE_LINE_DRIVER_10K | 3 | ✓ | ✓ | X | X | X | X | X | X
ENCODER_IO_MODE_OPEN_COLLECTOR_2K2 | 4 | ✓ | ✓ | X | X | X | X | X | X
ENCODER_IO_MODE_OPEN_COLLECTOR_10K | 5 | ✓ | ✓ | X | X | X | X | X | X
DCC1000_0 (ver: 204, 205, 206) Position Controller: Val: ENCODER_IO_MODE_PUSH_PULL DCC1000_0 (ver: 210, 211, 220) Position Controller: Val: ENCODER_IO_MODE_PUSH_PULL DCC1001_0 (ver: 114, 116, 117) Position Controller: Val: ENCODER_IO_MODE_PUSH_PULL DCC1001_0 (ver: 120, 130) Position Controller: Val: ENCODER_IO_MODE_PUSH_PULL DCC1002_0 (ver: 100, 101, 102) Position Controller: Val: ENCODER_IO_MODE_PUSH_PULL DCC1002_0 (ver: 111, 120) Position Controller: Val: ENCODER_IO_MODE_PUSH_PULL DCC1100_0 (ver: 113, 114) Position Controller: Val: ENCODER_IO_MODE_PUSH_PULL DCC1100_0 (ver: 120, 121, 130) Position Controller: Val: ENCODER_IO_MODE_PUSH_PULL

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