10-11-2005 12:01 PM
I am a beginner with Lab windows. I have NIDAQmx PCI-6220 card. I want to acquire analog signals from 5 different channels at the same time and I want to analyze it (FFT).
Do you guys have any examples for multiple channel data acquisition?
Thanks
Regards
Dinesh
10-12-2005 11:31 AM
02-20-2007 08:51 AM
02-20-2007 09:37 AM
02-21-2007 02:16 AM
02-21-2007 09:11 AM
02-21-2007 10:45 AM - edited 02-21-2007 10:45 AM
So, what I meant by using both channels with the same timing ciruitry would be something like the image below. Using the same update rate, by having a different number of data points per cycle, you can output different frequency signals. Also, supplying an external clock still uses the same ao timing circuitry, so that won't help.
-Alan A.
Message Edited by Alan [DE] on 02-21-2007 10:46 AM
Message Edited by Alan [DE] on 02-21-2007 10:46 AM
02-22-2007 02:46 AM
02-22-2007 10:33 AM
So, you'll have to get creative with your array and probably fill it in with dummy data (or zeros) for the second channel, because you are right, it expects the same number of samples for each channel. So, you might have to use an array twice the size that you actually want. I'm not exactly sure about that error, does it go away if you increase the size of your array, as it suggests? Your code looks fine, if you want example code, check out my first post in this thread.
-Alan A.