04-13-2023 07:53 PM
Hi. I'm a basic user of LabVIEW. I program the sensor ultrasonic HC-SR04 in my LabVIEW (2022 Q3) but the reading of the sensor can't view in the LabVIEW. Do you know what the problem?
This is my LabVIEW program.
Solved! Go to Solution.
04-13-2023 08:11 PM
FYI - it is not a 'LabVIEW' issue. All that LabVIEW does is communicate with the firmware running on Arduino over Serial port. It is the duty of the LINX firmware on Arduino to measure using SR04 and return the measurement over Serial port.
The LINX libraries for LabVIEW are responsible for encoding and decoding the communication between your LabVIEW application and the the LINX firmware on Arduino.
Do you receive any error popup? what exactly do you see when you run the code? have you selected the correct COM port and programmed the Arduino with LINX firmware?
04-13-2023 08:17 PM
Thank you for your answer. I have solved the problem. It's due to wrong pins for DO and D1. It's upside down.