LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Wi-Fi LED system

I am doing a project on Wi-Fi LED system using program from labview and arduino. It involves using data dashboard from iPad to remotely control the LED via a wireless router. I want to add another function, that once the iPad is connected to the router, the LED will turn on. Pls help.

0 Kudos
Message 1 of 7
(3,070 Views)

What have you done so far?  Attach your VI.  Where are you stuck?

0 Kudos
Message 2 of 7
(3,064 Views)

I have just finish trying out data dashboard, as well as web server. However, I want to know whether if LabVIEW is able to turn on the light once it detects the active connection between the data dashboard and the router.

0 Kudos
Message 3 of 7
(3,055 Views)

LabVIEW can't turn turn on an LED (and I assume you are talking a real hardware LED and not an LED indicator on the front panel.)  LabVIEW is software.  You need hardware like a data acquisition card to drive a real LED.  Then depending on what you use as your DAQ card, LabVIEW can communicate with that to turn on/off the LED.

0 Kudos
Message 4 of 7
(3,028 Views)

I am trying to link the arduino board and labview together via serial communication using the attached vi. However, I cannot seem to turn on the LED. please look at my program and advise me. Thanks.

0 Kudos
Message 5 of 7
(3,003 Views)

Your LabVIEW VI is taking the boolean value and typecasting it to a string and sending that out of the serial port.  So it will either send the value 0 if the boolean is false, or a 1 if the boolean is true.  I'm sure your LabVIEW code is working just fine in this aspect.  Note: this is not the character "0" or the character "1", but the binary/hexadecimal value of 0 and 1, which are both non-printable control codes in the ASCII table.

 

The question is, what does your Arduino expect?  What code do you have running on it?  How does it know to turn on a specific LED if you get the 1 at the serial port or turn if off if you get a 0?

0 Kudos
Message 6 of 7
(2,969 Views)

Hey,,s10114751 !!

 

After reading your entire stuff from the post I still have a question in my mind the can please elaborate what's the basic role of Arduino as if I'm a bit confused to answer your question and it would be great if you could tell me its role so that I could guide you perfectly.

0 Kudos
Message 7 of 7
(2,887 Views)