Download Data Acquisition Toolbox User`s Guide

Transcript
StandardSampleRates
Purpose
11StandardSampleRates
Description
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.0 kHz. For newer sound cards, an upper bound of 96.0 kHz
may be supported. The specified sample rate is rounded up to the next integer
value.
Specify whether the valid sample rates snap to a small set of standard values,
or if you can set the sample rate to any value within the allowed bounds
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.
Characteristics
Values
Vendor
Sound cards
Usage
AI, AO, Common
Access
Read/write
Data type
String
Read-only
when running
Yes
{On}
The sample rate can be set only to a small set of
standard values.
Off
If supported by the hardware, the sample rate can be set
to any value within the allowed bounds, up to a
maximum of 96.0 kHz.
11-23