12-08-2011 12:48 PM
I was wondering if someone could clarify the relationship between samples per channel per second and sampling rate.
I have USB6008 and USB6363 boards that I am working with in Measurement Studio.
For the USB6008 set for differential input (so four AI channels), if I set a sampling rate at 8192 samples per second and I set the samples per channel to 2048 with:
Task.Timing.ConfigureSampleClock( "", 8192, SampleClockActiveEdge.Rising, SampleQuantityMode.ContinuousSamples, 2048)
Am I correct in assuming that:
Solved! Go to Solution.
12-08-2011 02:13 PM - edited 12-08-2011 02:15 PM
Hi DKIMZEY,
The help page for "Timing.ConfigureSampleClock Method" should have a hyperlink to the "Sample Clock" page in the NI-DAQmx Help, which includes this text: "This sample clock sets the time interval between samples. Each tick of this clock initiates the acquisition or generation of one sample per channel." When the sample clock rate is 8192, then the time between two successive data points for a single channel is 1/8192 seconds. The time between data points on two adjacent channels is controlled by the AI convert clock, which can be controlled independently on most devices (up to a point).
Brad
12-08-2011 02:29 PM
Brad,
Thanks most kindly! That makes good sense. Samples per channel in continuous mode is actually a buffer for data points per channel.
-Doug