Skip to content

NI DAQMX Buffer Attributes

Greg Stoll edited this page Sep 10, 2021 · 2 revisions

Buffer Attributes

See how to get and set attributes.

Input

DAQmx_Buf_Input_BufSize

Data Type: uInt32
Description: 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.

You can get/set/reset this attribute using:   DAQmxGetBufferAttribute   DAQmxSetBufferAttribute   DAQmxResetBufferAttribute

DAQmx_Buf_Input_OnbrdBufSize

Data Type: uInt32
Description: Indicates in samples per channel the size of the onboard input buffer of the device.
Restrictions: Not Settable

You can get this attribute using:   DAQmxGetBufferAttribute

Output

DAQmx_Buf_Output_BufSize

Data Type: uInt32
Description: 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.

You can get/set/reset this attribute using:   DAQmxGetBufferAttribute   DAQmxSetBufferAttribute   DAQmxResetBufferAttribute

DAQmx_Buf_Output_OnbrdBufSize

Data Type: uInt32
Description: Specifies in samples per channel the size of the onboard output buffer of the device.

You can get/set/reset this attribute using:   DAQmxGetBufferAttribute   DAQmxSetBufferAttribute   DAQmxResetBufferAttribute

Table of Contents

Internal Development

Creating and Setting Up a gRPC Server

Server Security Support

Creating a gRPC Client

gRPC Client Examples

Session Utilities API Reference

Driver Documentation

gRPC API Differences From C API

Sharing Driver Sessions Between Clients

C API Docs
NI-DAQmx
NI-DCPOWER
NI-DIGITAL PATTERN DRIVER
NI-DMM
NI-FGEN
NI-RFmx Bluetooth
NI-RFmx NR
NI-RFmx WCDMA
NI-RFmx GSM
NI-RFmx CDMA2k
NI-RFmx Instr
NI-RFmx LTE
NI-RFmx SpecAn
NI-RFmx TD-SCDMA
NI-RFmx WLAN
NI-RFSA
NI-RFSG
NI-SCOPE
NI-SWITCH
NI-TCLK
NI-XNET
Clone this wiki locally