NI-DAQmx .NET Framework 4.0 API Reference

Table of Contents

DaqStream.ReadRelativeTo Property

  • Updated2023-02-21
  • 1 minute(s) read
DaqStream.ReadRelativeTo Property
Specifies the point in the buffer at which to begin a read operation. If you also specify an offset with ReadOffset, the read operation begins at that offset relative to the point you select with this property. The default value is CurrentReadPosition unless you configure a Reference Trigger for the task. If you configure a Reference Trigger, the default value is FirstPretriggerSample.

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

Syntax

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

Property Value

Type: ReadRelativeTo
Specifies the point in the buffer at which to begin a read operation. If you also specify an offset with ReadOffset, the read operation begins at that offset relative to the point you select with this property. The default value is CurrentReadPosition unless you configure a Reference Trigger for the task. If you configure a Reference Trigger, the default value is FirstPretriggerSample.

Exceptions

ExceptionCondition
DaqExceptionThe NI-DAQmx driver returned an error.

See Also

Log in to get a better experience