10-22-2014 09:00 AM
Hello,
Can you help me to save the array in the attached VI for the "Write" case?
Thanks.
10-22-2014 11:47 AM
10-22-2014 03:40 PM
@GerdW wrote:
Hi hiNI,
you need to reverse the conversion you made when loading your data: create an 2D array from your array of cluster!
(#10k)
I think this gives the transpose of the array you want (i.e. interchanges rows and columns). The input was "Mode, Quantity, Weight, Mode, Quantity, Weight", but the above output is "Array of Modes, Array of Quantities, Array of Weights". I make this mistake all the time, but fortunately LabVIEW has a "Transpose 2D Array" function to save the day -- put it right before the Write to Spreadsheet.
BS
10-22-2014 08:16 PM
@Bob_Schor wrote:
I make this mistake all the time, but fortunately LabVIEW has a "Transpose 2D Array" function to save the day -- put it right before the Write to Spreadsheet.
Or just set the "Transpose" Boolean input to the Write to Spreadsheet File to TRUE. It saves a step.