03-07-2022 10:31 AM
Hi,
I'm trying to read some values from my liquid level sensor. And then when I can get a reading I can use that value in the future.
My liquid level sensor is wired through a Arduino Uno. When I used some code in Arduino IDE, it gives back a value between 0 and 1024(depending on water level). So the sensor is working.
I just don't think I'm using Labview correctly.
I have tried both the arduino software and the Linx software(as you can see below in my attachments). But either seems to give me out any values.
Any idea where my mistakes are?? Any help would be hugely appreciated.
Thanks.
Solved! Go to Solution.
03-07-2022 11:08 AM
Hi Bandit,
@Bandit1234 wrote:
When I used some code in Arduino IDE, it gives back a value between 0 and 1024(depending on water level).
Why don't you use that Arduino code and just add some serial communication to it? Send the readings using the virtual serial port of the Arduino!
On your computer you don't need LIFA or LINX, all you need is VISA to read the data from serial port…
03-08-2022 09:11 AM
LIFA has been discontinued, stick to LINX.
Did you send the LINX firmware to the board? In LabVIEW, to to Tools -> Makerhub -> LINX -> Load Board Firmware
Once the firmware is loaded, verify that the LINX example program works.