LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Writing array to selected row in array table

Solved!
Go to solution

Hi,

im stuck on trying to display a row of data which i took from a excel file.

just displaying the data on an array table has no problem BUT when i use Index Array and Replace Array Subset Function, no data comes out.

so here it goes, Table3 has the data i want but Table2 have no data at all.

im using Index Array and Replace Array Subset Function to allow me to SELECT the ROW of that i want to be displayed on

any idea?

 

21479iEBCF0826DDE2F79B

0 Kudos
Message 1 of 5
(3,130 Views)
Solution
Accepted by topic author 64864050

Hey!

 

Try this..

 

I use the reshape array function to change the row extracted from Excel from 2D to 1D. Then you can just straight replace this in your table.

 

 - Rkll

Message 2 of 5
(3,110 Views)

Best guess is that "Table2 stereo" is empty to begin with.  You can't replace elements of an array that does not exist.

Message 3 of 5
(3,104 Views)

Seems that you are doing it the hard way : why don't you use the array subset function ?

 

21489i10F4D04084144C2C

 

Of course, Wayne was right.

Additionnal comments :

1- you are misabusing the local variable

2- the index array function can be resized to have several outputs

3- then, no need to wire all the index input (autoindexing works here also...)

4- same comment for the index inputs of the replace array element function, if replacing elements on the same row

 

Chilly Charly    (aka CC)
Message 4 of 5
(3,086 Views)

thank you all of you all

it was a great help!

0 Kudos
Message 5 of 5
(3,073 Views)