LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How do you create an array of control and/or indicators?

Hello,

  How do you create custom controls and/or indicators? I have seen Labview VI's from other people who have created a single indicator with 8 of the green LEDs that had a buss to connect to the display. I have also seen a bank/array of toggle switches that has a buss output of boolean signals. I currently get a individual button and/or led and painfully arrange them to create a multiple control or indicator.
 How do you create an array of indicators and/or toggle switches?
Regards,


Kaspar
0 Kudos
Message 1 of 8
(3,923 Views)
Hi:

I think you're talking about a cluster. A cluster is a bunch of controls that are grouped together. Then can be of different types, for example a cluster can contain numerics, booleans and strings. You can bulid a cluster placing a Cluster shell in the front panel. It's located in the Array & Cluster subpallete. And about arranging the elements, try to use the Align/Distribute Objects buttons located in the right side of the LabVIEW toolbar.

Hope this helps

Robst



Robst - CLD

Using LabVIEW since version 7.0


Message 2 of 8
(3,921 Views)
Hello,

  Thanks for the info about clusters, I will go check it out! Have a great day!
Regards,


Kaspar
0 Kudos
Message 3 of 8
(3,916 Views)
Hi:

Have a great day too!...if it helped rate it five stars!....just kidding Smiley Very Happy

Regards

Robst



Robst - CLD

Using LabVIEW since version 7.0


Message 4 of 8
(3,913 Views)

Hi All,

Robst wrote "!...if it helped rate it five stars!....".

Due to the design of this forum there is ONLY ONE rating that is positive feedback for an answer or question and that is a "five star rating". Since the difference between a "Proven" contributor (First bar is gold) and an "Trusted" contributor (first bar is yellow) is the former has an average rating of 4.5 or higher and teh later is less than 4.5 any rating less than "5-stars" pulls down the contributors average.

So...

"

If you like an answer give five

if not, let it lie.

"
 
Well it almost rhymes,
 
Ben
Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
Message 5 of 8
(3,903 Views)
Hello,

  Ok...I get the subtle hint...I have rated the last two responses to my posting a 5. This forum is GREAT, because of all of the people who have responded to my questions and have helped me out. So in the future I will always rate a good response a 5. Sooner or later I will be able to give back to this forum and answer other peoples questions, instead of asking a whole lot of questions.
So a 5 rating is the way I will go! Smiley Happy

P.S. The only other rating I will ever give that is higher than a 5 is to my wife...who is a 10!
Regards,


Kaspar
0 Kudos
Message 6 of 8
(3,896 Views)


@Kaspar wrote:

P.S. The only other rating I will ever give that is higher than a 5 is to my wife...who is a 10!


Kaspar, your wife must have access to this forum.Smiley Wink  Just kidding.

Ben:  That explanation was worth a 5-star rating.

- tbob

Inventor of the WORM Global
0 Kudos
Message 7 of 8
(3,879 Views)

Hi Kaspar

Clusters are very useful for flexibility and I use them alot.

To answer your original question as I read it, when you want all the elements to be the same you can still use an array. Add the control/indicator to the pannel, then from the 'Array, matrix, cluster' pallet (just Array, Cluster in LV 7), select the array framework and place on your pannel. Now take your original control and drag it into the array framework and expand to the number of elements you need. The data will now be an array (1D or 2D if you need it) rather than a single scaler.

Of course you can also have an array of clusters. Whichever way you go they can only be either control or indicator, you can't mix the two. 

Ian

0 Kudos
Message 8 of 8
(3,876 Views)