07-17-2009 04:55 AM
Thanks Mike, this will work.
Tell me just 1 last thing, when i index the array, it will go to a sub-array, so, should i wire that to what? And, aren't we running in circles? From cluster to array, then to another array and finally to a sub-array.. ain't there a simple way to do that? Sorry for all these basic questions.
07-17-2009 05:41 AM
Hi THN,
i don't know the format of the result you need, that's why i created the 2D array. You can place this function after the loop, then it will run only ones if the loop stops. At this point the user is ready with entering the needed values and you can wire it directly to your next function.
Mike
07-23-2009 04:04 AM
Hi Mike,
I've been trying to solve my main question, but i'm still having troubles. The array will have a max of 4 columns for 4 lines. I should put the index after the loop, which means that the user will have finished filling the fields. After it i will need to do something like "unbundle" works in a cluster. Because i will need those values for building a ramp. For example, i will need the 1st column values, which means i will need max and min temperature to do the setpoints, i will need the rate to make the ramp rate, and finally i will need the time delay to separate the ramps. I dunno if you are understanding me.
Thanks for your support Mike.
07-23-2009 04:26 AM
Hi THN,
unfortunately i don't understand the problem. You can see the "get" button as the "finish" button. Use the "index array" function to get the values you need. You can resize the index array function to get more than only one value at a time.
Mike
07-23-2009 04:51 AM
The index is sending the values to another arry, but it's organizing the values by lines. Still, the problem remains the same. I can't use the values independently, like i do with the clusters with the function "unbundle". Isn't there any way to do that?
Using independently each value from an array.
07-23-2009 05:45 AM - edited 07-23-2009 05:45 AM
Hi THN,
can you show the expected result? Maybe then i understand what you need.
Mike
07-23-2009 05:46 AM
07-23-2009 06:01 AM
The expected result is something like the attach. I will have always at least 1 column with 4 lines. But the number of columns can vary, depends on how many columns the user selects. Can go from 1 to 4.
The attach shows 2 examples of a full table of values. Which means, 4 columns with 4 lines each.
I'm not sure if array to cluster solves my problem, because i don't know how many columns i would have. Will it be with the "build custer" option?
Thanks in advance to both.
07-23-2009 06:13 AM
Hi THN,
try the attached vi. If this not helps, then i can't help, sorry.
Mike
07-23-2009 06:31 AM