Hi Mehdi,
Somnatic is correct. DAQmx uses the 'samples to read' value to set the necessary buffer size. For more info, check out the LabVIEW Help file under Taking Measurements >> NI-DAQmx Key Concepts >> Reading and Writing Data >> Buffering >> How Is Buffer Size Determined?
Thanks,
Justin M.
National Instruments