07-15-2009 09:03 PM
07-15-2009 10:35 PM
07-16-2009 09:57 PM
07-16-2009 10:15 PM
07-16-2009 10:24 PM
07-16-2009 10:33 PM
I don't know what your code looks like. But if you have a 2-D array going into the table, and you want to turn rows into columns and columns into rows, then doesn't it make sense to put the Transpose array in the wire right before it goes into the table?
07-16-2009 10:33 PM
07-16-2009 10:40 PM
You can right click on the control and make the Column headers visible. You can set their values by writing to the Column Header Strings[] property node.
I have no idea about your variant datatype problem. You'd have to post the latest copy of your VI along with a description of steps on how to reproduce the problem.
07-16-2009 11:16 PM
Hi. Thanks for the tip about column header. i cant seem to find the build table express vi which i found in http://forums.ni.com/ni/board/message?board.id=170&message.id=337154 following smercurio_fc method. Do you mind helping me to modify the column table? also, maybe you could take a look at my variant to data vi. Many Thanks.
07-16-2009 11:32 PM
For some reason, I don't have all of the database VI's. Since I don't have them, nor your database to give any results, I can't take a look at the database variant VI to know if it is working right.
The inner For loop that runs once isn't necessary. Using a build array function gives the same result as a For Loop that runs once with autoindexing However, my gut feel is that you should be doing something different here to get the different fields that are in a single string parsed out into different columns
See attached.