LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How To Write?

I want to write three values to a list (or table)which is displayed .when I record them once ,the programme will record it on the list .if I record three time ,then three rows of list is filled with the
values.how to write the programme ,please give me a hand.would you like to write A VI !thanks a lot!
0 Kudos
Message 1 of 2
(2,452 Views)
Use an invoke node for your table using the Set Cell Value method in a loop. Use a shift register to keep track of your current row number, incrementing it every time you add a new row.
To create an invoke node:
Right-click on table and select Create >> Invoke node.
Right-click on Invoke Node on diagram and select Methods >> Set Cell Value.
You can call Set Cell Value three times in a loop to write 3 values to 3 columns.
See the attached LabView 6.1 example.
0 Kudos
Message 2 of 2
(2,452 Views)