Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

Data sampling issues

Hi Johnny,

I think that the problem lies with the way you are converting the output of the DAQ Assistant.  Your analog input operation is set up to be continuous, reads from multiple channels, and returns 10 datapoints from each channel each time the while loop iterates.  Currently, you are converting this output to a 1D array.  You need to convert it to a 2D array, so that for each channel you get a column or row of data.  Right now I'm not sure if you are getting ten samples from the first channel or one sample for each of your channels.  You will need to change your data manipulation in the second while loop so that it can handle this array format.

Hope this helps,

Laura

Message 11 of 12
(920 Views)
Thanks for that tip; i was getting the data from each channel but inadvertently truncating the data that was being collected. I fixed that and figured the queue things out, for the most part. I'm still toying with them but it is working for now.
Thanks again!
0 Kudos
Message 12 of 12
(906 Views)