Program LV-MaxSonar-EZ1

i tried to program the sensor with the ultrasonic VI’s but it doesnt work, anything to suggest

The ultrasonic vi’s are not for the MaxBotix sensor we received in the Kit.
They are for a different make/model.

The MaxBotix has a couple of ways to install, but the simplest is to use the analog output, connect it to the analog bumber, and retrieve data from it as you would any other analog sensor.

There is an example built into LabVIEW. From the front screen of LabVIEW, select Support then FRC example finder. From there choose sensors and then EZ1 MB1010 Sonar - Analog.

That’s a fantastic example, it really helped get it tested quickly.
Any examples of how to drive the rx port to turn the sensor on and off?

What our team did was we wrote the program by using the DIO analog in channel, the get voltage in analog in is gives you a voltage and then divide it by about .0097 will give you approximate distance in inches, error with in 6 inches