DAQmxCfgBurstHandshakingTimingExportClock

NI-DAQmx C Functions

DAQmxCfgBurstHandshakingTimingExportClock

int32 DAQmxCfgBurstHandshakingTimingExportClock (TaskHandle taskHandle, int32 sampleMode, uInt64 sampsPerChan, float64 sampleClkRate, const char sampleClkOutpTerm[], int32 sampleClkPulsePolarity, int32 pauseWhen, int32 readyEventActiveLevel);

Purpose

Configures when the DAQ device transfers data to a peripheral device, using the DAQ device's onboard sample clock to control burst handshaking timing.

Parameters

Input
Name Type Description
taskHandle TaskHandle The task used in this function.
sampleMode int32 Specifies whether the task acquires or generates samples continuously or if it acquires or generates a finite number of samples.
Value Description
DAQmx_Val_FiniteSamps Acquire or generate a finite number of samples.
DAQmx_Val_ContSamps Acquire or generate samples until you stop the task.
DAQmx_Val_HWTimedSinglePoint Acquire or generate samples continuously using hardware timing without a buffer. Hardware timed single point sample mode is supported only for the sample clock and change detection timing types.
sampsPerChan uInt64 The number of samples to acquire from each channel if sampleMode is DAQmx_Val_FiniteSamps. If sampleMode is DAQmx_Val_ContSamps, NI-DAQmx uses this value to determine the buffer size.
sampleClkRate float64 Specifies the sampling rate in samples per channel per second. If you use an external source for the Sample Clock, set this input to the maximum expected rate of that clock.
sampleClkOutpTerm const char [] Specifies the terminal to which to route the Sample Clock.
sampleClkPulsePolarity int32 Specifies if the polarity for the exported sample clock is active high or active low.
pauseWhen int32 Specifies whether the task pauses while the signal is high or low.
readyEventActiveLevel int32 Specifies the polarity for the Ready for Transfer event.

Return Value

Name Type Description
status int32 The error code returned by the function in the event of an error or warning. A value of 0 indicates success. A positive value indicates a warning. A negative value indicates an error.