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.
I am using HC-SR04 sensor and LINX function. The distance was read via the ultrasonic function of LINX. But it was always 0. How can I read distance with the sensor?
Can you give a little more background about what you're looking for? I'm not sure what you mean by how it's installed. Here's a reference for the function itself: link
I also might suggest posting in the forums over at LabVIEW MakerHub. They might have a little more info, depending on what you're looking for.
Claire M. Technical Support National Instruments Certified LabVIEW Developer
LINX is not an officially supported NI product so I would recommend posting this question directly to the LINX support forums to have the best chance of resolving this issue. The link to the LINX support forums is below: