Read multiple ultrasonic sensor values.
Return eight ultrasonic sensor distance values.
- Parameters:
-
| _port | The port to which the ultrasonic sensor is attached. See the NBC Input port constants group. You may use a constant or a variable. |
| _values | An array of bytes that will contain the 8 distance values read from the ultrasonic sensor. |
| _result | A status code indicating whether the read completed successfully or not. See TCommLSRead for possible Result values. |