## Phidget Digital Input.lvlib:DigitalInputSetInputMode.vi

The input polarity mode for your channel.

- See your device's User Guide for more information about what value to chooose for the `InputMode`

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

| Input Mode The input mode value
Enumeration Values
Name | Value | Supported Devices
--- | --- | ---
ADP0001_0 v200 v201 | ADP0001_0 v200 v201 | DAQ1400_0 v112 | DAQ1400_0 v120 v121 | DAQ1400_0 v130 v131
INPUT_MODE_NPN | 1 | X | X | ✓ | ✓ | ✓
INPUT_MODE_PNP | 2 | X | X | ✓ | ✓ | ✓
INPUT_MODE_FLOATING | 3 | ✓ | ✓ | X | X | X
INPUT_MODE_PULLUP | 4 | ✓ | ✓ | X | X | X
ADP0001_0 (ver: 200, 201) Digital Input: Default: INPUT_MODE_FLOATING ADP0001_0 (ver: 200, 201) Digital Input: Default: INPUT_MODE_FLOATING DAQ1400_0 (ver: 112) Digital Input: Default: INPUT_MODE_NPN DAQ1400_0 (ver: 120, 121) Digital Input: Default: INPUT_MODE_NPN DAQ1400_0 (ver: 130, 131) Digital Input: Default: INPUT_MODE_NPN

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