Specify whether valid sample rates snap to small set of standard values, or if you can set sample rate to any allowed value
Note: You cannot use the legacy interface on 64–bit MATLAB®. See Session-Based Interface to acquire and generate data.
StandardSampleRates can be On of Off. If StandardSampleRates is Off, then it is possible to set the sample rate to any value within the bounds supported by the hardware. For most sound cards, the lower bound is 8.000 kHz, while the upper bound is 44.1 kHz. For newer sound cards, an upper bound of 96.0 kHz might be supported. The specified sample rate is rounded up to the next integer value.
If StandardSampleRates is On, then the available sample rates snap to a small set of standard values. The standard values are 8.000 kHz, 11.025 kHz, 22.050 kHz, and 44.100 kHz. If you specify a sampling rate that is within one percent of a standard value, then the sampling rate snaps to that standard value. If you specify a sampling rate that is not within one percent of a standard value, then the sampling rate rounds up to the closest standard value.
Regardless of the StandardSampleRates value, if you specify a sampling rate that is outside the allowed limits, then an error is returned.
AI, AO, common to all channels
Read-only when running