04-29-2008 11:44 PM
05-01-2008 12:26 PM
HI RockInnovations,
The 2d array returned by AI Read is actually organized the opposite way. Each column represents a channel and the rows are the data samples. This information can be found In the LabVIEW Help’s documentation of the AI Read VI. Below is the AI Read Help description of the 2-d scaled array:
scaled data is a 2D array that contains analog input data in scaled data units. The data appears in columns, where each column contains the data for a single channel. The second (bottom) dimension selects which channel column. The first (top) dimension selects a single data point for that channel. The array must be transposed before graphing.
This probably explains the weird behavior you were seeing in your program. Let me know if you have any questions and take care.
Thanks,