LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Multitable

Solved!
Go to solution

multi.png

had use for loop create origin multi table

want change multi index form 3 to 100

to ahieve modify multi table how to use for loop to achieve it

thanks a lots

0 Kudos
Message 1 of 3
(171 Views)
Solution
Accepted by topic author ironaaron

Hi Aaron,

 


@ironaaron wrote:

had use for loop create origin multi table

want change multi index form 3 to 100

to ahieve modify multi table how to use for loop to achieve it 


Both "tables" look like ordinary 2D arrays…

 

You just need to use ReplaceArraySubset to replace the 3rd row of the input array with a 1D array to achieve your desired output!

What have you tried and where are you stuck?

Best regards,
GerdW


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

@ironaaron wrote:

 

had use for loop create origin multi table

want change multi index form 3 to 100

to ahieve modify multi table how to use for loop to achieve it


You need to explain your terms ("multi table", "multi index", "origin"). (For example there is a program called origin, are you trying to interface?)

 

The index of an array element just points to a cell, it does not contain data that can be changed. You want to change the array value, not the index.

 

So please explain what you want to to. Where does the 2D array come from? Where does the new data row come from? Where does the result go? (and please don't tell us how it needs to be done. Most likely a FOR loop is not even needed!)

0 Kudos
Message 3 of 3
(125 Views)