LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to insert & remove the data from table control?

Dear friends,

   I am Anand from Chennai. I am using table control for viewing the results & also after test is over, it will be printed in html based report. This table control has column headings. They are Sl. No, Test Name, Test Condition, Test Value. I want to insert the data in particular row & column

(for eg. row:1, Col:0 (ie Sl.No) is 1.2,

           row :1, Col:1 (ie Test Name) is Voltage Measurements,

           row:1, Col:2 (ie Test Condition) is < 2 VAC,

           row:1, Col:3 (ie Test Value) is 1.92 VAC.

The row & columns are changing at runtime (ie row : 1 to 10, & col: 0 to 3). How to do this?.

 

And also without event structure, how to monitoring the controls (ie START, TEST,  ABORT, REPORT [ button control, Text Ring controls])

 

   For extracting data from table control, I'm using Index Array.

 

Thanks in advance,

With regards,

Joh

 

0 Kudos
Message 1 of 3
(6,779 Views)

Hi Joh,

 

"For extracting data from table control, I'm using Index Array."

For putting data into the table you would use ReplaceArraySubset (ofcourse with properly initialized array)...

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 3
(6,772 Views)

You can Tbl Refnum and Set Cell Value method  to insert data as well. See the attached example. The VI also simulates inserting data at runtime.

 

1. Open tblExampleInsertData.vi

2. Enter the number of Tests 

3. Click run

0 Kudos
Message 3 of 3
(6,742 Views)