LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

use data from array

Solved!
Go to solution

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.

TN
Currently using LV 8.5
logo
0 Kudos
Message 11 of 29
(1,195 Views)

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

0 Kudos
Message 12 of 29
(1,187 Views)

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.

TN
Currently using LV 8.5
logo
0 Kudos
Message 13 of 29
(1,171 Views)

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

0 Kudos
Message 14 of 29
(1,163 Views)

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.

TN
Currently using LV 8.5
logo
0 Kudos
Message 15 of 29
(1,158 Views)

Hi THN,

can you show the expected result? Maybe then i understand what you need.

 

Mike

Message Edited by MikeS81 on 07-23-2009 12:45 PM
0 Kudos
Message 16 of 29
(1,151 Views)
You can use an "array to cluster" to get the values. I am not sure whether u are looking for this
0 Kudos
Message 17 of 29
(1,149 Views)

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.

TN
Currently using LV 8.5
logo
0 Kudos
Message 18 of 29
(1,146 Views)

Hi THN,

try the attached vi. If this not helps, then i can't help, sorry.

 

Mike

Message 19 of 29
(1,141 Views)
Mike, tell me just something, i can do that for all the values right? I just have to copy that part of the code...and i will have all the values i need...right?
TN
Currently using LV 8.5
logo
0 Kudos
Message 20 of 29
(1,139 Views)