HI Todd
Thanks this will certainly help.If you can answer to couple of more questions that will be great.
I m using the NI-DAQ-16E-4 PCMCIA card.I am little confused about the scan rate and sample rate.I was going through the shipped program ScanSingleBufAsync.c and in this example 2 channels are scanned.Sample rate is set to 10,000 S/s(i.e. dSampRate=10,000).Is this rate same for both the channels or is this rate the aggregate sampling rate??I am using 8 channels and wanted to sample each channel at 10Khz,so in this dSampRate should I put 10,000 or 80,000(10,000 * 8=aggregate sample rate)??
Similarly wat should be my scan rate for my application?I want to take 100 samples on each channel so I think the "ulCount" parameter should be set to 800.Simi
larly the size of the arrays piBuffer & pdVoltBuffer would be 800.
Has this number to do anything with the scan rate?
Please clarify.
Thanks