Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   National Instruments LabVIEW and Data Acquisition (http://www.chiefdelphi.com/forums/forumdisplay.php?f=149)
-   -   Program LV-MaxSonar-EZ1 (http://www.chiefdelphi.com/forums/showthread.php?t=101081)

Tub Tubs 24-01-2012 21:24

Program LV-MaxSonar-EZ1
 
i tried to program the sensor with the ultrasonic VI's but it doesnt work, anything to suggest

Mark McLeod 24-01-2012 23:00

Re: Program LV-MaxSonar-EZ1
 
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.

Joe Ross 24-01-2012 23:07

Re: Program LV-MaxSonar-EZ1
 
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.

moc601 06-02-2012 23:16

Re: Program LV-MaxSonar-EZ1
 
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?

Vikingtech2054 06-02-2012 23:28

Re: Program LV-MaxSonar-EZ1
 
Quote:

Originally Posted by Tub Tubs (Post 1112958)
i tried to program the sensor with the ultrasonic VI's but it doesnt work, anything to suggest

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


All times are GMT -5. The time now is 18:30.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi