04-12-2006 02:40 PM
04-12-2006 11:28 PM
Hi Melissa-
We are indeed setting the interchannel conversion rate in the aiConvert function. The actual parameter that determines the convert clock rate (i.e. the rate that channels in a scan list are scanned) is the convert period divisor.
For your board the timebase is 20MHz and the maximum multi-channel scan rate is 1 MS/s. This means that the fastest convert period you can use with your board requires that we divide the timebase by 20. Since we're loading a counter, we actually want to load [desired divisor] - 1, so to get a convert rate of 1MHz you should load a convert period divisor of 19.
Alan's discussion in this thread mentions other divisor settings for multi-channel, multi-point acquisitions (as shown in aiex2.cpp).
Hopefully this helps-
04-13-2006 06:40 AM