## 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
--- | --- | ---
1057_3 v400 v401 | DCC1000_0 v115 | DCC1000_0 v204 v205 v206 | DCC1000_0 v210 v211 v220 | ENC1000_0 v101
ENCODER_IO_MODE_PUSH_PULL | 1 | ✓ | ✓ | ✓ | ✓ | ✓
ENCODER_IO_MODE_LINE_DRIVER_2K2 | 2 | ✓ | ✓ | ✓ | ✓ | ✓
ENCODER_IO_MODE_LINE_DRIVER_10K | 3 | ✓ | ✓ | ✓ | ✓ | ✓
ENCODER_IO_MODE_OPEN_COLLECTOR_2K2 | 4 | ✓ | ✓ | ✓ | ✓ | ✓
ENCODER_IO_MODE_OPEN_COLLECTOR_10K | 5 | ✓ | ✓ | ✓ | ✓ | ✓
1057_3 (ver: 400, 401) Encoder Input: Default: ENCODER_IO_MODE_PUSH_PULL DCC1000_0 (ver: 115) Encoder Input: Default: ENCODER_IO_MODE_PUSH_PULL DCC1000_0 (ver: 204, 205, 206) Encoder Input: Default: ENCODER_IO_MODE_PUSH_PULL DCC1000_0 (ver: 210, 211, 220) Encoder Input: Default: ENCODER_IO_MODE_PUSH_PULL ENC1000_0 (ver: 101) Encoder Input: Default: 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.