11-17-2018 08:56 AM
Hello,
I want to use the HC-SR04 Ultrasonic Sensor on MyRio to get an analogue input (doesn't matter if it gives me time or distance). I found many threads that have to do with using Labview FPGA. However, I don't know how to use FPGA and due to the time constraint, I can't learn it now. Is there any way that I can achieve my goal with only using the regular Labview functions?
Any help will be greatly appreciated.
11-17-2018 09:36 AM
HI elie,
Is there any way that I can achieve my goal with only using the regular Labview functions?
Well, LabVIEW FPGA uses "regular" functions…
Other possible solution: Use an Arduino to read your HC-SR04 sensor. There are surely ready-to-use libraries available! then you only need to use some VISA functions to read the Arduino data…
11-17-2018 09:51 AM
The problem is using MyRio is one of the reuirements. The professor won't accept Arduino. Anyway I'll try to search for a library available for MyRio. Thank you!
11-17-2018 10:09 AM
Hi elie,
However, I don't know how to use FPGA and due to the time constraint, I can't learn it now.
I think most, if not all, examples for HC-SR04 will use the FPGA of the myRIO…
The professor won't accept Arduino.
So your professor gave you a task - and you have tight "time constraints"?
Either your professor gave you too less time to solve that task or you don't learn as fast as (s)he thinks you should be able to…