LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

I need help with array leds

How to do this loop?

 

Thanks

 

 

0 Kudos
Message 1 of 29
(4,471 Views)

Your VI has a password, thus we cannot see what you want to do and what loop you are talking about.

Message 2 of 29
(4,461 Views)

Yes, for that reason I want know how to do it.

0 Kudos
Message 3 of 29
(4,454 Views)

@carlos55 wrote:

Yes, for that reason I want know how to do it.


What is "it"?

 

To replicate the operation of the attached VI, start with an initialized 2D boolean array in a shift register and replace one element at a time with a TRUE value. You can calculate the current position based on the iteration terminal and some simple geometry.

 

We won't do your homework. What have you tried so far?

 

If you get stuck, show us what you have it we might be able to point you in the right direction.

Message 4 of 29
(4,434 Views)

Maybe this attached file will get you started, it took me all of 12 minutes!

0 Kudos
Message 5 of 29
(4,433 Views)

@bmihura wrote:

Maybe this attached file will get you started, it took me all of 12 minutes!


The LED needs to move in a spiral, not diagonally across, so the solution would need little bit more code. 😉

 

Here's my version, you can even select the starting direction. 😄

 

(The password is pretty long...)

Message 6 of 29
(4,422 Views)

Drat, now I must one-up you altenbach! Pretend this is a LabVIEW VI and not a YouTube link:

 

http://www.youtube.com/watch?v=f1YNyQqbiF0

 

0 Kudos
Message 7 of 29
(4,414 Views)

I do not want to do my homework, just needed help figuring out how to begin.
With what you said and I have an idea, I appreciate it.

And I apologize for my bad English, I only know Spanish.

greetings and thanks.

0 Kudos
Message 8 of 29
(4,409 Views)

You could do it using a state machine like the attached VI.

 

You have posted this question twice.  Please don't do that, it could waste peoples time.

 

Kind Regards

Lewis Gear CLA
LabVIEW UAV

Download All
0 Kudos
Message 9 of 29
(4,385 Views)

Thank you!

 

I was do the program, but I don´t want the 4 cases, I just want 2 cases; up and down, and that the enum be in the same fornt panel, but I can´t, can you help me?

 

 

 

 

0 Kudos
Message 10 of 29
(4,372 Views)