LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

arduino

Hi, Could someone please tell me if I have to write C code to an arduino to use a HC SR04 sensor and interface it with labview. If someone could explain how to interface this with just a VI I would be very grateful. I am new to all this and I have been assigned a project to measure distance with this sensor connected to an arduino and display the image on a HMI with labview. Any and all help appreciated

Carl

0 Kudos
Message 1 of 4
(2,354 Views)

Hi!

If you try to search the web you'll find some examples and sketches to interface Arduino with SR04 sketch.

For example: http://playground.arduino.cc/Code/SR04 (I've never tested it).

Once the sensor has been interfaced with the board it should be easy to implement with Labview a VISA a VI to read the measure from your PC.

 

Marco

0 Kudos
Message 2 of 4
(2,350 Views)

Post your question here 

 

https://forums.ni.com/t5/LabVIEW-Interface-for-Arduino/ct-p/7008?view=discussions

 

Take a look at this link also

 

http://arduinobasics.blogspot.in/2012/11/arduinobasics-hc-sr04-ultrasonic-sensor.html'

 

http://www.instructables.com/id/Simple-Arduino-and-HC-SR04-Example/

 

Hopw this is what you are looking for

--------------------------------------------------------------------------------------------------------
Kudos are always welcome if you got solution to some extent.

I need my difficulties because they are necessary to enjoy my success.
--Ranjeet
Message 3 of 4
(2,347 Views)

add other useful links, greetings

 

NI LabVIEW Interface for Arduino Toolkit - 

http://sine.ni.com/nips/cds/view/p/nid/209835 

 

 

Getting Started With the LabVIEW Interface for Arduino

http://vishots.com/getting-started-with-the-labview-interface-for-arduino/

 

 

0 Kudos
Message 4 of 4
(2,274 Views)