LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Table control

Solved!
Go to solution

Hello,

     

          I have used a table control in my vi. I want to put value to a specific cell. How can I do it? 

 

Please find the attached picture. where in I have used a property node to assign value, I have given active cell as (1,4) but the value i'm getting in (0,0). so is it not the right way?? Am I doing something wrong??

Thanking you,
Sushmith
0 Kudos
Message 1 of 6
(2,641 Views)
Solution
Accepted by topic author sushmith_ks

Table Values.PNG

 

you might try the one above

Regards
Freelance_LV
TestAutomation Consultant
0 Kudos
Message 2 of 6
(2,618 Views)

Hi Sushmith,

 

Table is basically 2D array of strings.

 

Refer this

..value at particular cell.PNG

 

Well, i hope you will get better replies from other senior members.

 

Regards,

Bijay

 

0 Kudos
Message 3 of 6
(2,617 Views)

Hi Bijay

 

You do not need the sequence structure there. Wire the errors in and out.

 

To change the value of a cell, setting the Active Cell property is not required.

Regards
Freelance_LV
TestAutomation Consultant
0 Kudos
Message 4 of 6
(2,608 Views)

Hi Freelance_LV,

 

 

That's right.

 

Regards,

Bijay

0 Kudos
Message 5 of 6
(2,604 Views)

Hi,

 

You could also use the Invoke Node for your table control and select the 'Set Cell Value' method.

 

It takes the index values for the Table (which is basically a matrix of string starting from "0,0") and the Value that you wish to feed in. Do try it.

This works if you want to change values at a limited number of points.

To change a bunch of values in one go, 'Replace Array Subset' would then be most convenient.

0 Kudos
Message 6 of 6
(2,581 Views)