View Single Post
  #5   Spotlight this post!  
Unread 26-01-2014, 21:32
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,113
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: ultra sonic Sensor

Quote:
Originally Posted by katsauga View Post
I am having trouble finding sample code for a MaxBotics ultrasonic sensor. Can Someone submit a place to start, or a sample Labview code?
If you're looking for example LabVIEW code, a good place to start is the LabVIEW Examples. On the Getting Started window, select the Support tab. Click the "Find FRC Examples..." link on the right and it will open the NI Example Finder with the FRC Robotics folder selected.

Under the Analog folder you will find "EZ1 MB1010 Sonar - Analog.lvproj", and Under the Digital folder you will find "EZ1 MB1010 Sonar - Digital.lvproj":
This example shows how to use the MaxBotix LV-MaxSonar-EZ1 Sonar Range Finder MB1010. It will display the distance from the sensor in inches.
The examples include pictures of the proper wiring for the sensor.