NI DAQMX Internal Buffer Configuration - ni/grpc-device GitHub Wiki
int32 DAQmxCfgInputBuffer (TaskHandle taskHandle, uInt32 numSampsPerChan);
Overrides the automatic input buffer allocation that NI-DAQmx performs.
Input | ||
---|---|---|
Name | Type | Description |
taskHandle | TaskHandle | The task used in this function. |
numSampsPerChan | uInt32 | The number of samples the buffer can hold for each channel in the task. Zero indicates no buffer should be allocated. Use a buffer size of 0 to perform a hardware-timed operation without using a buffer. |
Name | Type | Description |
---|---|---|
status | int32 | The error code returned by the function in the event of an error or warning. A value of 0 indicates success. A positive value indicates a warning. A negative value indicates an error. |
int32 DAQmxCfgOutputBuffer (TaskHandle taskHandle, uInt32 numSampsPerChan);
Overrides the automatic output buffer allocation that NI-DAQmx performs.
Input | ||
---|---|---|
Name | Type | Description |
taskHandle | TaskHandle | The task used in this function. |
numSampsPerChan | uInt32 | The number of samples the buffer can hold for each channel in the task. Zero indicates no buffer should be allocated. Use a buffer size of 0 to perform a hardware-timed operation without using a buffer. |
Name | Type | Description |
---|---|---|
status | int32 | The error code returned by the function in the event of an error or warning. A value of 0 indicates success. A positive value indicates a warning. A negative value indicates an error. |