## Phidget Distance Sensor.lvlib:DistanceSensorGetDistance.vi

The most recent distance value that the channel has reported.

- This value will always be between `MinDistance` and `MaxDistance`.

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

| Distance The distance value Units: millimetres (mm) DST1000_0 (ver: 102) Distance Sensor 200mm: Min: 0 Max: 200 DST1001_0 (ver: 101) Distance Sensor 650mm: Min: 0 Max: 650 DST1002_0 (ver: 100, 101) Distance Sensor 1300mm: Min: 0 Max: 1300 DST1200_0 (ver: 104, 105, 106) Sonar Distance Sensor: Min: 40 Max: 10000