NI-DAQmx .NET Framework 4.0 API Reference

Table of Contents

Timing.SampleTimingType Property

  • Updated2023-02-21
  • 1 minute(s) read
Timing.SampleTimingType Property
Specifies the type of sample timing to use for the task.

Namespace:  NationalInstruments.DAQmx
Assembly:  NationalInstruments.DAQmx (in NationalInstruments.DAQmx.dll) Version: 20.7.40.49302

Syntax

public SampleTimingType SampleTimingType { get; set; }
Public Property SampleTimingType As SampleTimingType
	Get
	Set

Property Value

Type: SampleTimingType
Specifies the type of sample timing to use for the task.

Exceptions

ExceptionCondition
DaqExceptionThe NI-DAQmx driver returned an error.

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.

See Also

Log in to get a better experience