How to use VEX digital ultrasonic range finder with labview

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”):

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?


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

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

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.