Skip to content
Ken Sharp edited this page Dec 8, 2023 · 1 revision

Ultrasonic HC-SR04

Read distance using the HC-SR04 ultrasonic distance sensor.

hc-sr04.png

Inputs

LINX Resource

Contains LINX connection resources.

Trig

Specifies the LINX device digital output channel connected to the HC-SR04 Trig pin.

Echo Pin (DI)

Specifies the LINX device digital input channel connected to the HC-SR04 Echo pin.

Error In

Describes error conditions that occur before this node runs. This input provides standard error in functionality.

Outputs

**LINX Resource **

Contains LINX connection resources.

Centimeters

Returns the distance in centimeters.

Inches

Returns the distance in inches.

Error Out

Contains error information. This output provides standard error out functionality.

Related Links

gh-311

ping

read

VI Reference

Clone this wiki locally