DAQmxCfgInputBuffer
int32 DAQmxCfgInputBuffer (TaskHandle taskHandle, uInt32 numSampsPerChan);
Purpose
Overrides the automatic input buffer allocation that NI-DAQmx performs.
Parameters
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. |
Return Value
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. |