SampleTimingType
- Updated2026-02-03
- 1 minute(s) read
Specifies the type of sample timing to use for the task.
Syntax
Namespace: NationalInstruments.DAQmx
public SampleTimingType SampleTimingType { get; set; }
Remarks
Select SampleClock when a hardware signal (usually a clock) must acquire or produce samples. To perform buffered edge counting, for example, select SampleClock and use SampleClockSource to specify the source of the Sample clock.
Select Handshake to use bidirectional hardware signals to time the exchange of digital data between two devices.
Select BurstHandshake to run at a slower rate but with the capability for per sample evaluation of triggers and events to pause the operation.
Select PipelinedSampleClock on supported devices to run at the maximum sample rate with a few Sample clock cycles delay before the device can respond to triggers and events.
Select OnDemand to acquire data only when reading from the task executes or to generate data only when writing to the task executes.
Select Implicit to perform a buffered period or frequency counter measurement or to generate a finite pulse train.
Select ChangeDetection to capture data only when certain digital lines change states and without continuously transferring unnecessary data during periods of inactivity.
Exceptions
| Type | Description |
|---|---|
| NationalInstruments.DAQmx.DaqException | The NI-DAQmx driver returned an error. |