LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Ultrasonic sensor does not work with LabView 20-23 (Solution LINX)

I had issues when I tried to use Ultrasonic sensor and LabView. Ultrasonic sensor worked well in Arduino IDL, but it did not work in LabView. I found a solution. 

 

Look at the steps.:

 

1. Go to Program Files (x86), National Instruments, LabVIEW 2023 (20,21,22), examples, MakerHub,LINX and LINX - Ultrasonic.vi.

C:\Program Files (x86)\National Instruments\LabVIEW 2023\examples\MakerHub\LINX

 

2. Open it. Screenshot 2023-04-25 134913.png

 

3. Open its block diagram and make double click on Read.vi

Screenshot 2023-04-25 135648.png

4. Open its block diagram again and make double click on Digital Read Pulse Width.vi

 

Screenshot 2023-04-25 135952.png

 

5. Open its block diagram again and set the stimulus pulse to a 1 (active high). 

 

Screenshot 2023-04-25 140307.png

 

6. Close and save everything.

 

Screenshot 2023-04-25 140700.png

 

I used LabView 23.

 

0 Kudos
Message 1 of 1
(761 Views)