02-02-2013 07:08 AM
Dear all,
I have having difficulties about array.
I would like to store 10 different set of string values generated every second into a 2D array which constantly grows larger and larger.
data1 15
data2 16
data3 17
. ----------> [2D ARRAY] whic data is stored every second.
.
.
thank you very much!
Solved! Go to Solution.
02-02-2013 07:15 AM
What is the format you want your 2D array to be in? What have you tried? Where are you stuck?
02-02-2013 07:24 AM
Hi, thanks for your swift reply!
I would like my array to me in 2D string.
I cant seem to find a way to store it into a 2D array.
Could anyone help out with this?
Any examples that i can refer?
Ultimately how could i store my values into a 2D array accordingly from the 10 set of datas?
would appreciate all your help. thanks in advance
02-02-2013 07:57 AM
Did you try the Build Array to create the 2D array?
You really didn't add any helpful information. Can you give an example of input data and how you want the data to be formated?
02-02-2013 08:20 AM
The output of my 10 sets value were generated randomly and connected to a string indicator and i would like to store them into a string format of 2D array.
I have used some ways including the build array. I have even try putting them into 1D array but i do not know how to store it into a 2D array.
Could you provide a simple vi or illustration on how to store it?
Have i miss out any details that you need?
A vi and png file attached.
02-02-2013 08:39 AM - edited 02-02-2013 08:39 AM
Ok, we need to talk about style really quick.
Ok, from what I can gather, you are trying to had the 2D array hold all of the past iteration values. To do this, you need a shift register to hold the values. Build the current iteration's data into a 1D array and then append that to the 2D array.
02-02-2013 09:45 AM
Crossrulz, thank you very much!