09-28-2015 10:54 PM
Excuse me I bought an ultrasonic sensor HC-SR04 and I need to know how to program it with labview. When I start labview I don not have any block that represent this sensor, there is one that is shown when I install Linx but I do not like to use linx, is there any other way to obtain the block so that I can program the sensor???
10-09-2016 09:50 AM
just google it
11-21-2016 02:21 PM
I do not believe NI makes a driver for this sensor. You'll have to do a little work ...
Bob Schor
11-22-2016 09:32 AM
@zuzu12 wrote:Excuse me I bought an ultrasonic sensor HC-SR04 and I need to know how to program it with labview. When I start labview I don not have any block that represent this sensor, there is one that is shown when I install Linx but I do not like to use linx, is there any other way to obtain the block so that I can program the sensor???
Can you look at how the Linx program is written and recreate it? I have never used Linx. You need to set up some counters, one to send the initial pulse that starts the sensor and then another counter to read the return signal from the sensor. Then use the equation in the manual to turn the return signal into a distance.