Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

i need a matlab code to get the distance of 28015 ultrasonic ping from ni-6008

i connected the 28015 ultrasonic ping to ni-6008 and i need a matlab code to get the distance
0 Kudos
Message 1 of 2
(3,049 Views)
Hello b00017927,

I checked out the manual for the device you mentioned. It looks like you need to measure pulse width to calculate the distance. To measure pulse width you need a device that has a counter that can measure pulse width. The USB-6008 does not have a counter that can measure pulse width. It can only count pulses per its manual. Try searching for a device that has a counter on our Data Acquisition Page.
Regards,

Jon S.
National Instruments
LabVIEW NXG Product Owner
0 Kudos
Message 2 of 2
(3,022 Views)