LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Can I use a numeric control to change the shown index of an array?

Solved!
Go to solution

Hey folks,

 

This might be one of those questions getting the "why would you wanna do that?!" reactions, but I'm wondering if there's a fairly simple solution I just dont know about...

 

I know arrays aren't exactly gems when it comes to UI applications, but with my particular application if I could get a numeric control to be used to set which index of the array is shown, that would be awesome.  Also, assuming thats possible then I'm thinking I could figure out how to have two booleans that would increment/decrement the shown element while updating the numeric too...

 

Any ideas?

 

Any input much appreciated!

 

thx

0 Kudos
Message 1 of 6
(2,787 Views)
Solution
Accepted by topic author plyons.gks

Is this you wanted to achieve

 

Array selection.PNG

 

 

-----

The best solution is the one you find it by yourself
Message 2 of 6
(2,778 Views)

YES.   precisely what I was looking for. Kudos to you!!!

I had tried something similar but missed the build array...

 

much thx!!

 

-pat

0 Kudos
Message 3 of 6
(2,773 Views)

I'm curious.  why not just show the index display.  it even has increment and decrement arrows?

 

CM.png


"Should be" isn't "Is" -Jay
Message 4 of 6
(2,770 Views)

I want to have the numeric and booleans trigger event struc frames... there probably a bunch of ways to pull this off though...

 

thx

-pat

0 Kudos
Message 5 of 6
(2,767 Views)

I exactly thought about the same thing Jeff.. But it was like a Rubed code so I enjoyed doing it. 🙂

-----

The best solution is the one you find it by yourself
Message 6 of 6
(2,766 Views)