NI DAQMX Buffer Attributes - ni/grpc-device GitHub Wiki

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

⚠️ **GitHub.com Fallback** ⚠️