LabVIEW Interface for Arduino Discussions

cancel
Showing results for 
Search instead for 
Did you mean: 

Problem with ultrasonic sensor HC-SR04 .. Please HELP!

Solved!
Go to solution

Hi, 

I have a problem with the ultrasonic ( HC-SR04) .. it's my first time to use Labview 
first i'm using labview 2015 version and Arduino IDE version 1.6.9
The problem is i tried to test the sensor and make sure that i can calculate the distance using the interface between labview and arduino ,so i used a simple program shown below using the sensor uploaded in this topic ..

https://forums.ni.com/t5/LabVIEW-Interface-for-Arduino/LIFA-Ultrasonic-Distance-Sensor/ta-p/3514004

But the indicator does not show anything !! 
knowing that i installed the VISA program and arduino board works well and i uploaded the LIFA Base code before using it and i tried simple program to blink a led and it works  !! 

Here screenshots : first labview program and its output 
and the same program using arduino IDE to calculate the distance 
and sorry for my bad language 

thanks,

 

Labview program:

 

2.jpg3.jpg

 

The Sensor Works well !!!

1.jpg

0 Kudos
Message 1 of 3
(8,565 Views)
Solution
Accepted by topic author Samics

I highly recommend using LINX with this fixed VI.  If you have further issues with this method, please create a thread on the LINX forum.

0 Kudos
Message 2 of 3
(8,494 Views)

ok i will try thank you so much 🙂 

0 Kudos
Message 3 of 3
(8,485 Views)