## Phidget Common.lvlib:GetDeviceInfo.vi

Gets all device information required to open a Phidget channel. Intended for use to open a Phidget after it has been discovered by the Phidget Manager.

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

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

| Channel Class The channel class
Enumeration Values
Name | Value
--- | ---
PHIDCHCLASS_NOTHING | 0
PHIDCHCLASS_ACCELEROMETER | 1
PHIDCHCLASS_CURRENTINPUT | 2
PHIDCHCLASS_DATAADAPTER | 3
PHIDCHCLASS_DCMOTOR | 4
PHIDCHCLASS_DIGITALINPUT | 5
PHIDCHCLASS_DIGITALOUTPUT | 6
PHIDCHCLASS_DISTANCESENSOR | 7
PHIDCHCLASS_ENCODER | 8
PHIDCHCLASS_FREQUENCYCOUNTER | 9
PHIDCHCLASS_GPS | 10
PHIDCHCLASS_LCD | 11
PHIDCHCLASS_GYROSCOPE | 12
PHIDCHCLASS_HUB | 13
PHIDCHCLASS_CAPACITIVETOUCH | 14
PHIDCHCLASS_HUMIDITYSENSOR | 15
PHIDCHCLASS_IR | 16
PHIDCHCLASS_LIGHTSENSOR | 17
PHIDCHCLASS_MAGNETOMETER | 18
PHIDCHCLASS_MESHDONGLE | 19
PHIDCHCLASS_PHSENSOR | 37
PHIDCHCLASS_POWERGUARD | 20
PHIDCHCLASS_PRESSURESENSOR | 21
PHIDCHCLASS_RCSERVO | 22
PHIDCHCLASS_RESISTANCEINPUT | 23
PHIDCHCLASS_RFID | 24
PHIDCHCLASS_SOUNDSENSOR | 25
PHIDCHCLASS_SPATIAL | 26
PHIDCHCLASS_STEPPER | 27
PHIDCHCLASS_TEMPERATURESENSOR | 28
PHIDCHCLASS_VOLTAGEINPUT | 29
PHIDCHCLASS_VOLTAGEOUTPUT | 30
PHIDCHCLASS_VOLTAGERATIOINPUT | 31
PHIDCHCLASS_FIRMWAREUPGRADE | 32
PHIDCHCLASS_GENERIC | 33
PHIDCHCLASS_MOTORPOSITIONCONTROLLER | 34
PHIDCHCLASS_BLDCMOTOR | 35
PHIDCHCLASS_DICTIONARY | 36
PHIDCHCLASS_CURRENTOUTPUT | 38

| 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

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

| ChannelClassName The name of the channel's class