Справочник Пользователя для National Instruments 321645c-01
Chapter 2
Function Reference — WFM_Set_Clock
NI-DAQ FRM for PC Compatibles
2-442
©
National Instruments Corporation
actualRate is the rate at which data points are sent to the DACs. The capabilities of your
device will determine how closely actualRate matches desiredRate. The DSA devices use
the same base clock for both
device will determine how closely actualRate matches desiredRate. The DSA devices use
the same base clock for both
DAQ/SCAN
and
WFM
operations so the rates available for
WFM
will
be restricted if a
DAQ/SCAN
operation is already in progress.
Note
C Programmers—actualRate is a pass-by-reference parameter.
Using This Function
The frequency of a waveform is related to the update rate and the number of points in the
buffer (indicated in an earlier call to
buffer (indicated in an earlier call to
WFM_Load
). Assuming that your buffer contains exactly
one period of your waveform:
frequency = update rate/points in the buffer
You can make repeated calls to
WFM_Set_Clock
to change the update rate of a waveform in
progress.