Welcome! Log In Create A New Profile

Advanced

Increasing the buffer size for NI DAQ

Posted by chaoyi_zhang 
Increasing the buffer size for NI DAQ
October 17, 2025 09:18PM
Hi Jaewon,

Hoping you are doing well!

I recently found that my ML(2.2.52) will freeze in some random trials.

Attached is the bug report I copied from MATLAB; hopefully, it caused the trial freeze. In most cases, I have to force stop the whole MATLAB and can't find the cause.

Note: I do have many I/O needs to save to bhv2 files.3 cameras, 2 microphones, and 2 General Input and 2 TTL.

The data size is like 3 GB in 20 minutes.

But in the beginning, all is good. The freeze problem only happened recently, and pretty random.

Thanks for your help! And let me know if you need any further information could help diagnosis.

Thanks
Attachments:
open | download - error report 10172025.txt (1.6 KB)
Re: Increasing the buffer size for NI DAQ
October 19, 2025 02:56AM
You need to reduce the workload of your computer or get a faster computer.

The current buffer size is already large enough. If your machine cannot keep up with the acquisition, a larger buffer will not help much.

The National Institute of Mental Health (NIMH) is part of the National Institutes of Health (NIH), a component of the U.S. Department of Health and Human Services.