LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How can I get the row number of display automatically on a table?

Solved!
Go to solution

I have a table of measurements, and I would like the row number to be displayed on each row. The challenge is that each time I run the program, the total number of rows will be different, so I would like the numbers to update every time I run the program based on the current number of rows.

 

I have attached a picture to illustrate what I am trying to do.

0 Kudos
Message 1 of 3
(4,569 Views)

Create a Property Node for the Table Indicator and select the RowHdrs[] and ColHdrs[] properties. You can wire an array of strings to each of these to give the headers whatever info you'd like. I've built a simple VI that builds a 2D aray of strings of random sizes, then builds arrays of strings for the column and row headers.

 

tableheaders.png

---
CLA
0 Kudos
Message 2 of 3
(4,557 Views)
Solution
Accepted by topic author Laura121

Find the attached example (saved in version 2009), and you can extract what you need for your code...!!

 

Example (Enter Row Header).png


I am not allergic to Kudos, in fact I love Kudos.

 Make your LabVIEW experience more CONVENIENT.


Message 3 of 3
(4,552 Views)