Functions | |
| int32_t | VkDaqCfgSampClkTiming (const char *task, int32_t source, double samplingFrequency, int32_t reserved, int32_t sampleMode, int32_t sampsPerChanToAcquire) |
| Set the source of the sampling clock, the rate of the sampling clock, and the number of samples to be collected or generated. | |
| int32_t VkDaqCfgSampClkTiming | ( | const char * | task, |
| int32_t | source, | ||
| double | samplingFrequency, | ||
| int32_t | reserved, | ||
| int32_t | sampleMode, | ||
| int32_t | sampsPerChanToAcquire | ||
| ) |
Set the source of the sampling clock, the rate of the sampling clock, and the number of samples to be collected or generated.
| data type | parameter | describe |
|---|---|---|
const char* |
task |
Task name. |
int32_t |
source |
Clock source. 0: Internal clock. 1: External sync pulse. 2: master/slave. |
double |
samplingFrequency |
Sampling Frequency. When using an external sync pulse, the sampling frequency must be consistent with the external sync pulse frequency. |
int32_t |
reserved |
reserved. |
int32_t |
sampleMode |
Sampling mode. In ADC mode 0:continuous sampling. 1:limited N-sampling. In DAC mode 0:Repeatedly outputting fixed waveforms. 1:Single output fixed waveform. 2:Continuously output any waveform. |
int32_t |
sampsPerChanToAcquire |
In ADC mode: Valid for finite N sampling, used to specify the number of sampling points for finite N sampling. In ADC mode: Fixed number of waveform points |