KKS
KKS

Reputation: 1389

Labview : numbering color box array

I have a color box array as below.

enter image description here

Now, I want to do numbering the array as below picture.

enter image description here

In order to do numbering, I just put texts on the array elements, manually.

I would like to do numbering automatically.

Can anyone give me a solution how to do numbering the array elements automatically?

Thank you in advance.

Upvotes: 2

Views: 1841

Answers (2)

MarcoM
MarcoM

Reputation: 1204

I'd use a different approach. 1) Build a cluster containing both color box and a transparent number indicator 2) Put the cluster in a 2D array Make a typedef of the cluster if you want.

In this way you can easily play with colors and numbers all around your program.

enter image description here

enter image description here

Upvotes: 3

Khachik Sahakyan
Khachik Sahakyan

Reputation: 1982

I would add 2D numerical array. Resize it to have a size of the color box, make it transparent and show there what I wanted.

enter image description here

Please download example code from my dropbox (LV 15): https://www.dropbox.com/s/wevy0sgqnhgvh8p/Example%20on%20color%20box.vi?dl=0

and LV11:

https://www.dropbox.com/s/zmrg66fai8cg3w6/Example%20on%20color%20box_11.vi?dl=0

Upvotes: 3

Related Questions