From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
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???
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.