Exposes a buffer on a Task that can be used to read or write samples to or from an NI-DAQmx task.

Derives from

Syntax

Namespace: NationalInstruments.DAQmx

public class DaqBuffer : MarshalByRefObject, IFilteredTypeDescriptor

Remarks

Note

Example applications are located in the <Public Documents>\National Instruments\NI-DAQ\Examples\DotNET4.x directory or in the Start menu at National Instruments»NI-DAQmx»NI-DAQmx Examples.

Thread Safety

All members of this type are safe for multithreaded operations.

Properties

NameDescription
InputBufferSize

Specifies the number of samples the input buffer can hold for each channel in the task. Zero indicates to allocate no buffer. Use a buffer size of 0 to perform a hardware-timed operation without using a buffer. Setting this property overrides the automatic input buffer allocation that NI-DAQmx performs.

InputOnBoardBufferSize

Indicates in samples per channel the size of the onboard input buffer of the device.

OutputBufferSize

Specifies the number of samples the output buffer can hold for each channel in the task. Zero indicates to allocate no buffer. Use a buffer size of 0 to perform a hardware-timed operation without using a buffer. Setting this property overrides the automatic output buffer allocation that NI-DAQmx performs.

OutputOnBoardBufferSize

Specifies in samples per channel the size of the onboard output buffer of the device.

Methods

NameDescription
ToString()

Returns a string representation of the object.

See Also