09-14-2012 03:52 PM
Hello,
In the attached VI, I am currently getting all the arrays to show up in the same columns. I am trying to show each pass in the attached VI to show as different colums in the string table.
Any help will be appreciated.
Thanks,
hiNi.
Solved! Go to Solution.
09-14-2012 04:23 PM
I would allocate a string array at the final size, then replace data as you go. Here's quick rewrite (LabVIEW 8.5).
(I don't understand your use of the local variable, sequence structure, and while loops. The first two are not needed and the loops should be FOR loops because you know the number of iterations beforehand.
(Also note that you should work with strings for the final table. A numeric array will be padded with zeros for undersized rows or columns. An empty string for missing elements seems more appropriate.)
09-14-2012 04:24 PM
It sounds to me like you want something like the table shown below. The code to do it is also shown below, and the modified version of your VI is attached. The trick was to detangle the arrays you initially made; I would bet your code is not creating the arrays the way you intended-- if you want clarification on that, I'd be happy to elaborate.
In any case, it works fine the way it is!
------
Matt Kirk
Inventor of ImageJVI
09-14-2012 05:10 PM
THANK YOU!