10-10-2020 06:22 AM
Hi everybody,
I have a problem with my HC-SR04 Ultrasonic Sensor. In LabVIEW 2019 there is no problem to read the distance from it. But in LabVIEW 2020 it read nothing but the VI runs without errors.
System: LabVIEW 2020, LINX 3.0.1.192, Arduino UNO
Can someone help me?
Thanks a lot
kind regards
Goli95
10-10-2020 12:00 PM
Attach some code so we can see what you are doing!
10-17-2020 01:02 AM
I attached a printscreen of the code.
10-17-2020 11:38 AM - edited 10-17-2020 12:16 PM
That is not code, but a picture of code. So we can't run it for ourselves.
That said, it looks pretty simple. So I can't see why LV20 would behave differently than LV19.
You say "the VI runs without errors", but how do you know? Have you probed the error wire or put an indicator on it? Right now if there is an error on that lone LINX VI in the loop, you won't see it because it reaches the tunnel. You are "handling it" which means the automatic error handler won't pop up any dialogs.
Should you have a wait function in that loop?
11-09-2020 05:56 AM
Hello there,
I solved the problem. i don't know what mistake i did, but i made it completly new and now it works.
Thanks for your help.
12-13-2022 01:57 AM
Can you share how you solve the problem, because i have same problem