LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How can I write data to table row by row?

Hey, I have some data need to process,also need to display to user,4 different kind of data I grouped them together as a row ,I need to process these data row by row,How can I write data to table row by row to assiste my process?
 
Means, how to put "1d array" data into table in order?
 
Thanks.
Cheers,
Nicosg

anico2127@yahoo.com.sg
0 Kudos
Message 1 of 5
(5,003 Views)
Hi Nicosg,

are you talking about a table or a 2D-array of numbers? A table is just a 2D-array of strings...

General answer: you have to build a 2D-array from your 4 sets of 1D-data by simply using "build array" function!
Or, more complicated: initialize a 2D-array and fill the data into the proper cells by using "replace array element".

Message Edited by GerdW on 09-20-2007 11:05 AM

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 2 of 5
(4,995 Views)
Use Invode Node to call the "Set Cell Value" Method of the table. It takes 3 Parameters, row no, col no and data string.
 
Check the attached VI.
 
Best regards
Siva
sivamgr@gmail.com
Message 3 of 5
(4,990 Views)
Nicosg
 
as Gerdw said, you better use a 2D array.
maybe you want to post your vi, so we can see what you really mean?
-----------------------------------------------------------------------------------------------------
... And here's where I keep assorted lengths of wires...
0 Kudos
Message 4 of 5
(4,986 Views)

hi,

just insert ur data in table using inser into array vi. by specifing the index.

Message Edited by Ranjeeta on 09-20-2007 05:40 AM

Message Edited by Ranjeeta on 09-20-2007 05:40 AM

0 Kudos
Message 5 of 5
(4,972 Views)