Multifunction DAQ

取消
显示结果 
搜索替代 
您的意思是: 

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

11 条消息(共 12 条)
951 次查看
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 项奖励
12 条消息(共 12 条)
937 次查看