|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#1
|
||||
|
||||
|
ultra sonic Sensor
I am having trouble finding sample code for a MaxBotics ultrasonic sensor. Can Someone submit a place to start, or a sample Labview code?
![]() |
|
#2
|
||||
|
||||
|
Re: ultra sonic Sensor
The maxbotics ultrasonic sensor can output analog data, so you can wire it to the analog module and read it in labview as an analog source. There are other ways to read the data but this is the simplest.
|
|
#3
|
||||
|
||||
|
Re: ultra sonic Sensor
Thank you for the help, I have coded it and will test it as soon as our teams electrician wires it. Thanks for all the help!
|
|
#4
|
|||||
|
|||||
|
Re: ultra sonic Sensor
Here is a quick example I snagged from Team 358's website! A great reference for when I was first starting out!
|
|
#5
|
|||||
|
|||||
|
Re: ultra sonic Sensor
Quote:
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. |
|
#6
|
||||
|
||||
|
Re: ultra sonic Sensor
Quote:
|
|
#7
|
|||||
|
|||||
|
Re: ultra sonic Sensor
You know the sensor and wiring are correct, because the example works. The problem must therefore be with how you integrated it into your code. Show us what you did and we'll take a look at it. We need to see where you opened the sensor in Begin.vi and wherever you're reading and displaying its value.
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|