National Instruments Welding System 321645c-01 사용자 설명서

다운로드
페이지 554
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 
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 
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.