11-06-2008 01:02 PM
I am coming behind another programmer and his code is rather inefficient. This array operation seems way overcomplicated and i was wondering if any Labview Gurus out there could post some code that does the exact same thing, but isn't so obfusticated and hopefully is more efficient.
See attatched picture.
Solved! Go to Solution.
11-06-2008 01:12 PM
This looks like a "puzzle challenge". Do you have a simple description of what it is supposed to do?
Most likely, the solution is a "one liner" 😄
Can you attach the actual VI and some typical data file?
11-06-2008 01:17 PM
altenbach wrote:This looks like a "puzzle challenge".
Maybe the original programmer was trying to find out how many array functions they could fit on the head of a pin.
11-06-2008 01:24 PM
OK, I'm not going to analyze this diagram from a picture. 😮
11-06-2008 02:39 PM - edited 11-06-2008 02:45 PM
He's pulling out the however many rows into single arrays, and then grouping 0-6 and 7-13 into individual arrays and transposing them. Another option is