Hello!
I wonder how to set caption for array data.
For example I want to have caption drink in the first column, on second food, and on third desert. As I get in array only numbers bu I can not
find how to make caption for all the columns of the array.
Here is my program.
| drink | food | desert |
| 3 | 5 | 5 |
| 2 | 6 | 6 |
| 2 | 7 | 23 |
Thank you for your answer.
Solved! Go to Solution.
Hi Dodi,
Have you considered using a control instead so that you can add headers to the columns?
The Table Control can be found in the Controls Palette under Classic>> List, Table and Tree.
Kind Regards
Hello Dodi,
Why you didn't use a Table Control ?
It's a string type but you can convert the content in number like in the exemple. I don't check in details, I never used this control. But you can perhaps change the type of datas.
Rgs
ilotest
Thank you for you answer, but I want to have an array type DBL made of numbers and not another array made of string
is it possible just to add some caption in the array type DBL (numbers).
Regards.
Dodi
To my knowledge, it's not possible.
In fact, you can revert the conversion of course. At the end you will have a array of DBL
Is it really necessary to have this precision for this indicator / control ?
The GUI shall be dynamic, I mean you need to change the graphic design during running, or your table is static I mean only the table values will change. In this case you can create for each columns a string indicator like a header...![]()
Rgs
Ilotest
Than I will have to make a caption for all of the columns, and it will look something
like this.
Is this what you mean.
Regards,
Dodi
Thank you for your solution.
Regards,
Dodi
Hi Dodi,
Have a look at VI posted.
Regards,
Bijay
Hello!
I can not open the file in LabVIEW, as I have LabVIEW 8.6. Could you be so kind and send me
program in LabVIEW 8.6.
Thank you
Dodi