06-24-2014 09:08 AM
Hello.
I was wondering, what would be the best way to break a large column array into pieces of a specific size?
Solved! Go to Solution.
06-24-2014 09:25 AM - edited 06-24-2014 09:26 AM
It depends on what you want to do later with them. But generally, Index Array and Array Subsets are your friends.
p.s. What is column array?
06-24-2014 09:27 AM
A column array is simply a 1D array in the form of a column.
06-24-2014 09:30 AM - edited 06-24-2014 09:33 AM
A 1D-array has no vertical or column form. It is a visual layout chosen by the user on the front panel.
This information does not change the statement and the hidden question in Message 2.
06-24-2014 09:45 AM - edited 06-24-2014 09:45 AM
Do you want to break it into regular pieces of equal size/length? Is the length of a smaller piece a divisor of the total length of the large array?
06-24-2014 10:07 AM
Yes and not necessarily. I'm working on a program responsible for collecting data from a 6-degree loadcell. I want to be able to take all data observed and multiply it by a 6x6 matrix to change the incoming voltage to newtons and newton-meters. If it helps, I've attached the program below.
06-24-2014 01:30 PM
Can you replace your VoltageIn express VI with a 2D DBL array diagram constant containing typical data?
(index array is resizeable, use a parallel FOR loop instead of all these individual AxB instances, etc.)
06-24-2014 02:03 PM
I've modified the program and attached it below.
06-24-2014 02:07 PM
Your array control does not contain any data. Make the current values the default before saving.
(You also seem to be confused about indexing. The first element is index 0 in LabVIEW.)
06-24-2014 02:21 PM
Sorry about that. The default values should now be set.