How to use VEX digital ultrasonic range finder with labview

Hello!
Does anybody know how to program a vex ultrasonic sensor using labview?

I am using this code as a template (under “Ultrasonic Sensor ping-style Example”): http://www.team358.org/files/programming/ControlSystem2015-2019/labview/index.php#UltrasonicSensor.

No success so far. The sensor is plugged into the roborio DIO with input in the lower-numbered port.

Any idea what I’m doing wrong?

Thanks!

In that example, Ping is the output and echo is the input.

You can also use the ultrasonic example that is built into LabVIEW.