NI-DAQmx .NET Framework 4.0 API Reference

Table of Contents

DaqStream.ReadAllAvailableSamples Property

  • Updated2023-02-21
  • 1 minute(s) read
DaqStream.ReadAllAvailableSamples Property
Specifies whether subsequent read operations read all samples currently available in the buffer or wait for the buffer to become full before reading. NI-DAQmx uses this setting for finite acquisitions and only when the number of samples to read is -1. For continuous acquisitions when the number of samples to read is -1, a read operation always reads all samples currently available in the buffer.

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

Syntax

public bool ReadAllAvailableSamples { get; set; }
Public Property ReadAllAvailableSamples As Boolean
	Get
	Set

Property Value

Type: Boolean
Specifies whether subsequent read operations read all samples currently available in the buffer or wait for the buffer to become full before reading. NI-DAQmx uses this setting for finite acquisitions and only when the number of samples to read is -1. For continuous acquisitions when the number of samples to read is -1, a read operation always reads all samples currently available in the buffer.

Exceptions

ExceptionCondition
DaqExceptionThe NI-DAQmx driver returned an error.

See Also

Log in to get a better experience