Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   NI LabVIEW (http://www.chiefdelphi.com/forums/forumdisplay.php?f=182)
-   -   Labview and Vex Ultrasonic Sensors (http://www.chiefdelphi.com/forums/showthread.php?t=100473)

Tom Line 17-01-2012 12:57

Labview and Vex Ultrasonic Sensors
 
Will the Vex Ultrasonic Sensors work with the FRC Labview ultrasonic sensor VI right out of the box? Has anyone tried this?

tilky 18-01-2012 16:21

Re: Labview and Vex Ultrasonic Sensors
 
try putting this under the sensor forum. it's not a programming topic

billbo911 18-01-2012 16:42

Re: Labview and Vex Ultrasonic Sensors
 
Quote:

Originally Posted by Tom Line (Post 1107724)
Will the Vex Ultrasonic Sensors work with the FRC Labview ultrasonic sensor VI right out of the box? Has anyone tried this?

I have seen the Vex US sensor on robots in the past, so I'm guessing the answer is, it will work.

There is an example you can test with found in :
C:\program files\National Instruments\LabView 2011\examples\FRC\Digital\Ultrasonic At least that is the path on my PC. Honestly, I am not sure if this example is set up to measure pulse width, but it looks as though it is.

A Vex US generates a HIGH pulse during the time the unit is looking for the returned "ping". Just measure the pulse width and do the math to determine the distance to the nearest object.
To generate the "ping" , you need to apply a HIGH pulse of at least 10uS on the trigger line.


All times are GMT -5. The time now is 11:40.

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