LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

PING))) Ultrasonic Distance Sensor (#28015) LabVIEW

We are doing a project with the PING))) Ultrasonic Distance Sensor (#28015) using LabVIEW 9.0.  We are having difficulty interfacing the PING))) sensor with the NI ELVIS II+.  Also we are unsure of how to make a time delay in the microsecond range.  Any suggestions are appreciated.

0 Kudos
Message 1 of 3
(3,482 Views)

LabVIEW, under Windows, is not capable of a microsecond delay. Windows, in general, has a latency of 1 to 10 mS depending on who you ask and what version of Windows, machine, etc etc; however, I have seen LabVIEW commit to delays of 2 mS reliably. You just have to test it. LabVIEW RealTime is a different story, but I don't think you are running RT with Elvis.

 

As far as "having difficulty interfacing the PING))) sensor with the NI ELVIS II+", that question is so general, I wouldn't know where to start. But I must say that the sensor you are using was designed to interface directly with microelectronics like the Basic Stamp. You will not reliably measure microsecond pulses through high level hardware and Windows. But lets say you don't need microseconds..... the sensor outputs TTL. If you can read a digital input with your Elvis, then that's where to start to get "something" out of the Ping))) and into Elvis/LabVIEW.

 

Richard






0 Kudos
Message 2 of 3
(3,469 Views)

Hi, just wanted to ask you if you are using a ultrasonic sensor with transmitter and receiver? If so, what did you connect to the sensors so that they work?

0 Kudos
Message 3 of 3
(2,949 Views)