## Phidget Digital Input.lvlib:DigitalInputStart.vi

Opens and initializes a Phidget Digital Input

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

| Device Info Information required to specify which Phidget to open

| Serial Number The device serial number

| Channel The channel index

| Port The hub port index

| IsHubPort The hub port mode (True if the channel is a hub port itself)

| Connection Selects whether to look for a Phidget on the Local machine, over a Remote network, or both (No Preference)

| Timeout (mSec) Timeout in milliseconds

| 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

| Power Supply The power supply value
Enumeration Values
Name | Value | Supported Devices
--- | --- | ---
DAQ1400_0 v112 | DAQ1400_0 v120 v121 | DAQ1400_0 v130 v131
POWER_SUPPLY_OFF | 1 | ✓ | ✓ | ✓
POWER_SUPPLY_12V | 2 | ✓ | ✓ | ✓
POWER_SUPPLY_24V | 3 | ✓ | ✓ | ✓
POWER_SUPPLY_5V | 4 | X | X | X
DAQ1400_0 (ver: 112) Digital Input: Default: POWER_SUPPLY_12V DAQ1400_0 (ver: 120, 121) Digital Input: Default: POWER_SUPPLY_12V DAQ1400_0 (ver: 130, 131) Digital Input: Default: POWER_SUPPLY_12V

| Attached? Returns TRUE is the device successfully attached, or FALSE otherwise

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

| Phidget ID Device # Identification

| Serial Number Return The device serial number