First of all, the listings in a table or multi-column listbox is a 2D array of strings. So in order to write the results of the DAQmx read and display them in either type, you have to convert the timestamp and y value to strings (I used the Format Date/Time String and the Format Into String functions on the string palette) and then into a 1D array for each row.. Then, you use a shift register and build a 2D array with each iteration and write to the ItemNames property of the table/listbox. You do not want an array of Listboxes. A single listobix is correct. Since the DAQmx Read is returning a Y array, in the picture I show taking the mean of the y array. What value you actually want from it is up to you.
Message Edited by Dennis Knutson on 06-08-2006 11:31 AM