NI-DAQmx .NET Framework 4.0 API Reference

Table of Contents

CounterSingleChannelWriter Constructor

  • Updated2023-02-21
  • 1 minute(s) read
CounterSingleChannelWriter Constructor
Initializes a new instance of the CounterSingleChannelWriter class to write to the specified DaqStream.

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

Syntax

public CounterSingleChannelWriter(
	DaqStream stream
)
Public Sub New ( 
	stream As DaqStream
)

Parameters

stream
Type: NationalInstruments.DAQmxDaqStream
The DaqStream to write to.

Exceptions

ExceptionCondition
DaqExceptionThe NI-DAQmx driver returned an error.

Remarks

Each Task object contains a Stream property that serves as the connection point for the writer classes to provide samples to be generated by that task.

NI-DAQmx read and write methods time out after the amount of time specified by the Timeout property on the task you are reading from or writing to.

See Also

Log in to get a better experience