## 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
--- | --- | ---
DCC1000_0 v100 | ENC1000_0 v100
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 | ✓ | ✓
1047_0 (ver: 100, 101, 102) Encoder Input: Unsupported 1047_1 (ver: 102, 103) 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 1065_0 (ver: 100, 101) Encoder Input: Unsupported DCC1000_0 (ver: 100) Encoder Input: Val: ENCODER_IO_MODE_PUSH_PULL ENC1000_0 (ver: 100) 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.