11-13-2013 08:23 PM
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.
11-13-2013 10:38 PM
What have you done so far? Attach your VI. Where are you stuck?
11-14-2013 12:11 AM
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.
11-14-2013 08:22 AM
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.
11-25-2013 12:36 AM
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.
11-25-2013 12:59 PM - edited 11-25-2013 01:02 PM
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?
12-14-2013 12:17 AM
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.