LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Indicating cycle

Hi,

I really have no idea how to put this into a labview program but I can put it into words...

I have an array and when that array is indexed, I want an Led to light up on the front panel. Like so in the image attatched.

Thanks and sorry if this is a really silly question!

0 Kudos
Message 1 of 9
(2,655 Views)

You will want to store the array in a shift register.  When you index the array, you will need to take the value you indexed, change the LED to TRUE, and then use Replace Array Subset to replace the indexed value in the array, which will then display the LED as a TRUE value.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 2 of 9
(2,635 Views)

How do I shift only one part of the array? The other parts do not need to be shifted.

0 Kudos
Message 3 of 9
(2,617 Views)

A shift register does not shift anything.... 😉

0 Kudos
Message 4 of 9
(2,611 Views)

Do I need to unbundle it first then? Im just trying to access a boolean.

0 Kudos
Message 5 of 9
(2,607 Views)

You can use the "in place element structure" to modify cluster elements. Please attach some simplified version of your code. It is much easier to demonstrate things

0 Kudos
Message 6 of 9
(2,603 Views)

This is my block diagram

 

0 Kudos
Message 7 of 9
(2,595 Views)

@Adam_Keller wrote:

This is my block diagram


No, that's just an image.

0 Kudos
Message 8 of 9
(2,580 Views)

Hi Adam_Keller,

 

This is just a very simple example that may clear your ideas just a little.

 

Hope it helps.

 

Regards.

0 Kudos
Message 9 of 9
(2,577 Views)