From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
09-20-2020 05:57 AM
Hi everyone, I am new user for LabView. May I know how to make 5 LEDs are circulating one by one at 1 sec interval.( In LabView VI). Thanks.
09-20-2020 08:40 AM
I only have a Rube-Goldberg-Machine for this problem. It may work for you or not ...
Joke apart:
It looks like an educational exercise and you should solve it by yourself. If you get stuck, then post your VI and we can help you with the next step.
09-20-2020 09:30 AM
There is actually an example of this in the actor framework project template! Take a look at the "launcher.vi" after loading the template
09-20-2020 12:06 PM
Your problem is much simpler than the problem solved here (fewer LEDs, no random skipping, etc.). I am sure you can simplify it accordingly. Done correctly, the code will be trivial and fit on a postage stamp.
09-20-2020 12:12 PM
@Martin_Henz wrote:
I only have a Rube-Goldberg-Machine for this problem. It may work for you or not ...
Fantastic code and really funny in the details!. Definitely belongs into the Rube Goldberg thread. 😄
09-20-2020 12:19 PM - edited 09-20-2020 12:35 PM
@davidterry wrote:
Hi everyone, I am new user for LabView. May I know how to make 5 LEDs are circulating one by one at 1 sec interval.( In LabView VI). Thanks.
When you say "circulating", do you mean that the LEDs are arranged in a circle? (Thus my reply above).
If they are arranged linear, use an array of LEDs (have a look here). Of course there are many equally simple alternatives to solve this.
As an exercise, see if you can recreate the following code:
09-21-2020 05:44 AM
may i ask the what is the name of this tool? Thanks
09-21-2020 06:03 AM
09-21-2020 10:00 AM
another option would be to start with a boolean array constant (where one is true) and simply "rotate" the 1D array each iteration of your while loop.
09-21-2020 10:04 AM
I Heard good things about the Rotate function and number to boolean Array.