LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

show LEDs from arudino in labview frontpanel?

Hi I have a fairly simple question. I have some LEDs on my breadboard connected to an Arduino UNO. Red LED is turned ON when moisture level is below certain threshold and a water pump starts to run, when the moisture level is sufficent a green LED is turned ON.

I wonder how I get these LEDs transferred and shown on to the Labrview frontpanel?

0 Kudos
Message 1 of 4
(2,674 Views)

Who wrote the code running on the arduino? Are you using linx?

0 Kudos
Message 2 of 4
(2,666 Views)

I have mostly made the code my self in Arduino. I am already transferring measurement data (temperature, moisture,humidity light intensity) through VISA Resource---->Serial VISA block etc.

But LED is a boolean value, so a bit unsure how to transfer that?

0 Kudos
Message 3 of 4
(2,642 Views)

You can transfer it as a number. 0=FALSE and 1=TRUE. Then convert it to a boolean use "not equal zero" from the comparison palette.

Message 4 of 4
(2,637 Views)