LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Insert into array in columns separated

Solved!
Go to solution

I made the vi in the attachments. This vi basically, calculate an value from the dispositive, that's is the channel array. I need the so following: when calculus terminate, I need to insert these data in another array, but, the problem is: the number of lines in the constant array, is the number of columns I need in the Temp Org array. And these values are variable. I need a method to make this automatically. Or is, I need a vi to "construct" these columns according the number of the rows from the constants array.

0 Kudos
Message 1 of 3
(2,525 Views)
Solution
Accepted by topic author Andrebiffe

If the constants array (number of rows) and the channel array (number of elements) need to match in size, where do the other constants come from when the size needs to increase?

 

What puzzles me is your use of the "index array...build array" construct. That is the same as truncating the initial array to 3 elements, no matter how many elements are in there originally.

 

Here's a quick rewrite that eliminates some of the questionable stuff. As I mentioned in the first sentence, I don't really know what you want.

Message 2 of 3
(2,509 Views)

That's it man!!! You helped me again!!! Thanks a lot =D

0 Kudos
Message 3 of 3
(2,491 Views)