Look at the attached pics. One will show you what to wire to the rangefinder. The other pic is from
team 358 website. It shows you the Analog Input Module (NI 9201) and the Analog Breakout. You should plug the pwm cable from the ultrasonic rangefinder to any of ports 1-7 on the analog breakout.
My team is programming in LabVIEW, so I can't help you with code, sorry.
Hope this helps.
