Using the NI myDAQ to make accurate software-driven distance measurements using a small hobby ultrasonic ranging module (HC-SR04).
Using the Counter gate and Digital Output lines, software driven device triggering and accurate pulse width measurements can be made with ease on the myDAQ!