05-15-2006 12:49 PM
06-21-2006 09:59 AM
Hello DeMassi,
Have you solved your problem?
In fact, if you do a continous acquisition, LabVIEW creates like an "interactive" buffer in function of the rate acquisition. Anyway, you are able to overwrite this function and give a buffer size by this way :
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. |
This is the description of the function you should employ.
Regards,