Data Acquisition Toolbox
  Function/Property:
    Search    Help Desk 

Setting the Sampling Rate

The sampling rate is given by the SampleRate property and is defined as the number of samples output per second for each hardware channel. The maximum rate that channels can be sampled at depends on the specific hardware you are using and is discussed on page 4-17.

If you are using simultaneous sample and hold (SSH) hardware such as a sound card, then the maximum sampling rate for each channel is given by the maximum board rate. For example, suppose you create the analog output object AO for a sound card, configure it for stereo operation, and set the sampling rate to 44,100 Hz.

Both channels are sampled at 44,100 Hz.

Note:
For some sound cards, you can set the sampling rate to any value between the minimum and maximum values defined by the hardware. This is due to onboard filtering.



[ Previous | Help Desk | Next ]