04-13-2010 02:51 PM
I just tested my VI with Courier and it actually doesn't work nearly as well as it does with normal Ap font.
Also, you can find your maximum field length by simply taking the string length of the cells and find the value of the larget one, and maybe add 1 or 2 for good measure.
04-22-2010 11:07 AM
04-22-2010 12:15 PM
I just checked on LabVIEW 7.1, and it does allow you to center text in a table. It seems if you bought 7.0 and had it for any length of time under maintenance, you would have gotten 7.1. You could probably get 7.1 very cheap, maybe eBay, or maybe NI.
Notwithstanding that idea, maybe it's time to consider a plain 2D string array? Can you center the text in it? If so use the 2D array for data and a 1D array located above it for the header. The caveat is, of course, that the "cells" will all be the same size.
04-22-2010 12:21 PM
Actually, we originally bought 7.1, but had to revert back to 7.0 because 7.1 dropped support for W98. We haven't had any customers ask about Vista yet, so we've been ok using 7.0.
I used a 2D string array when crunching the data to generate the tables. Then, to print the table(s), I created a vi with tables and pass the table arrays to it for printing. You're right, I can easily center with a 2D string array, but I can't size them differently.
I may have to consider 7.1 for this app. I think dropping W98 for this app may be just fine. I'll have to check. Thanks for the 7.1 info.
04-22-2010 12:25 PM - edited 04-22-2010 12:27 PM
Correction: I don't think you can get 7.1 from NI, you'll have to try the used 2nd-hand method. I know there's a LOT of 7.1 out there somewhere.
edit: oops, I see you have already bought it at one time. Good!