05-07-2009 02:24 PM
Hi,
I have written the following VI that opens up each image file from a folder and measures a certain dimension on the image. It then puts the result of the measurement in a table.
The table has one column and N rows since I have N images in my folder. How can I modify this VI so that it puts the filename in the same table as well as the measurement?
I want the table to look like:
filename1 measurement1
filename2 measurement2
...
and so on.
Currently, it just shows
measurement1
measurement2
....
and so on.
Here is the VI:
Solved! Go to Solution.
05-07-2009 02:43 PM - edited 05-07-2009 02:43 PM
You can't use the Express Table. As the properties page says, it is for numeric data. You will have to use a little bit of actual LabVIEW to create the table. A table is just a 2D string array. So, convert the numeric to a string, build a 1D string array from the file name and numberic, and use a shift register to build a 2D array. Something like the code below.
05-07-2009 03:34 PM