LabVIEW Interface for Arduino Discussions

cancel
Showing results for 
Search instead for 
Did you mean: 

how to show digital Read output in LIFA arduino

Hi.i know this is a layman question but i am new to labview.i have labview 2013 32bit installed.i want to display(Boolean LED indicator) wheather a room light is on or off. The output of room light switch is connected to pin 10 of arduino.please help me how to do that i am missing some thing between digital read and light indicator.thanks in advanced

0 Kudos
Message 1 of 3
(4,009 Views)

here is the pic.my problem is very simple,i simply want to know which function i should  add between digital read and light indicator.your help will be greatly appreciated.

room light indicator.PNG

0 Kudos
Message 2 of 3
(2,943 Views)

Because that function outputs a U8 (an integer), you need to convert it to a boolean.  You can do this by using the "not equal to zero" comparison.

Also, you should consider using LINX instead of LIFA.

Message 3 of 3
(2,944 Views)