## Phidget Distance Sensor.lvlib:DistanceSensorGetSonarReflections.vi

The most recent reflection values that the controller has reported.

- The distance values will always be between `MinDistance` and `MaxDistance`.
- The closest reflection will be placed at index 0 of the distances array, and the furthest reflection at index 7
- The amplitude values are relative amplitudes of the reflections that are normalized to an arbitrary scale.

Device Support:

DST1000_0 (ver: 100) Distance Sensor 200mm : Supported

DST1200_0 (ver: 100) Sonar Distance Sensor : Supported

| 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 In Device # Identification

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

| Device Out Same as Device In

| Distances The reflection values

| Distance

| Amplitudes The amplitude values

| Amplitude

| Count The number of reflections