## 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
--- | --- | ---
DAQ1400_0 v112
INPUT_MODE_NPN | 1 | ✓
INPUT_MODE_PNP | 2 | ✓
1011_0 (ver: 100, 101, 102, 103) Digital Input: Unsupported 1012_0 (ver: 600) Digital Input: Unsupported 1012_0 (ver: 601) Digital Input: Unsupported 1012_0 (ver: 602, 603, 604) Digital Input: Unsupported 1012_1 (ver: 605) Digital Input: Unsupported 1012_2 (ver: 605) Digital Input: Unsupported 1013_0 (ver: 800, 811, 820) Digital Input: Unsupported 1013_0 (ver: 821, 823) Digital Input: Unsupported 1018_0 (ver: 824, 825, 826) Digital Input: Unsupported 1018_1 (ver: 826) Digital Input: Unsupported 1019_0 (ver: 826) Digital Input: Unsupported 1070_0 (ver: 826) Digital Input: Unsupported 1010_0 (ver: 903, 904) Digital Input: Unsupported 1018_2 (ver: 900, 901, 902, 903, 904) Digital Input: Unsupported 1019_1 (ver: 903, 904) Digital Input: Unsupported 1072_0 (ver: 903) Digital Input: Unsupported 1073_0 (ver: 904) Digital Input: Unsupported 1047_0 (ver: 100, 101, 102) Digital Input: Unsupported 1047_1 (ver: 102, 103) Digital Input: Unsupported 1052_0 (ver: 100) Digital Input: Unsupported 1052_0 (ver: 101, 102, 103) Digital Input: Unsupported 1052_0 (ver: 110, 111) Digital Input: Unsupported 1060_0 (ver: 100, 110) Digital Input: Unsupported 1063_0 (ver: 100) Digital Input: Unsupported 1063_1 (ver: 100, 101) Digital Input: Unsupported 1065_0 (ver: 100, 101) Digital Input: Unsupported 1065_1 (ver: 100, 101) Digital Input: Unsupported 1202_0 (ver: 100) Digital Input: Unsupported 1203_0 (ver: 100) Digital Input: Unsupported 1202_0 (ver: 120, 121) Digital Input: Unsupported 1202_1 (ver: 123, 124) Digital Input: Unsupported 1203_0 (ver: 120, 121) Digital Input: Unsupported 1203_1 (ver: 123, 124) Digital Input: Unsupported 1202_2 (ver: 200, 201, 202, 203, 204) Digital Input: Unsupported 1203_2 (ver: 200, 201, 202, 203, 204) Digital Input: Unsupported 1219_0 (ver: 110, 111, 113) Digital Input: Unsupported 1220_0 (ver: 110, 111, 113) Digital Input: Unsupported 1221_0 (ver: 110, 111, 113) Digital Input: Unsupported 1222_0 (ver: 110, 111, 113) Digital Input: Unsupported HUB0000_0 (ver: 117, 118, 119) Digital Input: Unsupported HUB0000_0 (ver: 121) Digital Input: Unsupported HUB5000_0 (ver: 102) Digital Input: Unsupported SBC3003_0 (ver: 101, 102) Digital Input: Unsupported SBC3003_0 (ver: 108) Digital Input: Unsupported DAQ1200_0 (ver: 103) Digital Input: Unsupported DAQ1300_0 (ver: 102) Digital Input Isolated: Unsupported DAQ1301_0 (ver: 100) Digital Input Isolated: Unsupported DAQ1400_0 (ver: 112) Digital Input: Def: INPUT_MODE_NPN HIN1101_0 (ver: 101) Digital Input: Unsupported HIN1100_0 (ver: 104, 105) Thumbstick Button: Unsupported

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