10-10-2007 04:10 AM
10-10-2007 04:57 AM
Hi,
In your vi you are only creating a 1D array to write to the table. This 1D array is effectively just one column. You need to generate a 2D array of strings to write to the table. you can do this in anumber of ways, adding a for loop round your existing for loop for example.
Craig
10-10-2007 07:07 AM
10-10-2007 07:15 AM
10-10-2007 07:29 AM - edited 10-10-2007 07:29 AM
The way your vi works it will rewrite the table each time the vi executes. If you want to use this as a sub vi, that apends string data to the table -- try this
Tom
Message Edited by Tom Haggerty on 10-10-2007 08:29 AM
10-12-2007 02:02 AM
10-12-2007 02:26 AM
10-12-2007 02:32 AM
10-12-2007 02:52 AM
10-12-2007 03:42 AM
A table is a fancy version of the normal 2D Str Arr. But what you re doing is the creation of a 3D Str Arr. Autoindexing of the while loop results in this, see your code. So you ve put an Index Arry at the end, which is not needed at all.
Just disable the Indexing of the while loop tunnel & take the wire directly to the Table.
Maybe you need to transpose it, thats all.
Give some correct sample data in a VI, so that we can help you out correctly. Your VI is a bit vague to me.