## Phidget Encoder.lvlib:EncoderSetIOMode.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
--- | --- | ---
1047_0 v100 v101 v102 | 1047_1 v102 v103 | 1047_2 v200 | 1052_0 v100 | 1052_0 v101 v102 v103 | 1052_0 v110 v111 | 1057_0 v300 v301 | 1057_1 v302 | 1057_2 v302 | 1057_3 v400 | 1065_0 v100 v101 | 1065_1 v100 v101 | DCC1000_0 v115 | 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 | ENC1000_0 v101 | HIN1101_0 v101
ENCODER_IO_MODE_PUSH_PULL | 1 | X | X | X | X | X | X | X | X | X | ✓ | X | X | ✓ | ✓ | ✓ | X | X | X | X | ✓ | X
ENCODER_IO_MODE_LINE_DRIVER_2K2 | 2 | X | X | X | X | X | X | X | X | X | ✓ | X | X | ✓ | ✓ | ✓ | X | X | X | X | ✓ | X
ENCODER_IO_MODE_LINE_DRIVER_10K | 3 | X | X | X | X | X | X | X | X | X | ✓ | X | X | ✓ | ✓ | ✓ | X | X | X | X | ✓ | X
ENCODER_IO_MODE_OPEN_COLLECTOR_2K2 | 4 | X | X | X | X | X | X | X | X | X | ✓ | X | X | ✓ | ✓ | ✓ | X | X | X | X | ✓ | X
ENCODER_IO_MODE_OPEN_COLLECTOR_10K | 5 | X | X | X | X | X | X | X | X | X | ✓ | X | X | ✓ | ✓ | ✓ | X | X | X | X | ✓ | X
1047_0 (ver: 100, 101, 102) Encoder Input: Unsupported 1047_1 (ver: 102, 103) Encoder Input: Unsupported 1047_2 (ver: 200) Encoder Input: Unsupported 1052_0 (ver: 100) Encoder Input: Unsupported 1052_0 (ver: 101, 102, 103) Encoder Input: Unsupported 1052_0 (ver: 110, 111) Encoder Input: Unsupported 1057_0 (ver: 300, 301) Encoder Input: Unsupported 1057_1 (ver: 302) Encoder Input: Unsupported 1057_2 (ver: 302) Encoder Input: Unsupported 1057_3 (ver: 400) Encoder Input: Def: ENCODER_IO_MODE_PUSH_PULL 1065_0 (ver: 100, 101) Encoder Input: Def: ENCODER_IO_MODE_PUSH_PULL 1065_1 (ver: 100, 101) Encoder Input: Def: ENCODER_IO_MODE_PUSH_PULL DCC1000_0 (ver: 115) Encoder Input: Val: ENCODER_IO_MODE_PUSH_PULL DCC1000_0 (ver: 204, 205, 206) Encoder Input: Val: ENCODER_IO_MODE_PUSH_PULL DCC1000_0 (ver: 210, 211, 220) Encoder Input: Val: ENCODER_IO_MODE_PUSH_PULL DCC1001_0 (ver: 114, 116, 117) Encoder Input: Val: ENCODER_IO_MODE_PUSH_PULL DCC1001_0 (ver: 120, 130) Encoder Input: Val: ENCODER_IO_MODE_PUSH_PULL DCC1002_0 (ver: 100, 101, 102) Encoder Input: Val: ENCODER_IO_MODE_PUSH_PULL DCC1002_0 (ver: 111, 120) Encoder Input: Val: ENCODER_IO_MODE_PUSH_PULL ENC1000_0 (ver: 101) Encoder Input: Def: ENCODER_IO_MODE_PUSH_PULL HIN1101_0 (ver: 101) Encoder Input: Def: 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.