从哪读?txt吗?
有个Read From Spreadsheet File.vi可以读txt
You may use Spreadsheet String To Array function to convert the tab-delimited text data into array, and with Index Array, Concatenate Strings and Format Into String, Transpose 2D Array and For-Loop etc to transform the data to the desired arrangement.
PS: it is assuming that the text data file is of tab-delimited.
With Thomas solution, all you need is Transpose 2D Array the 2D array output.
Just wire the transpose input of Read From Spreadsheet File to TRUE 😉
哦,对,转置数组。
A Transpose 2D Array will transpose any 2D array with N-rows, N-columns.
More than 2 columns? It is, still, a 2D array, isn't it?