Hello, I have an application that has been successfully operating for a few years - it uses cDAQ chassis and runs on Windows. Intermittently we have found buffer over-run issues and the application errors out, and would like to increase the buffer size to help avoid this. Hoping to get guidelines for setting "Samples per Channel" in DAQmx Timing vi when in Continuous Samples mode to increase the buffer.
More details: The application runs on cDAQ-9172/9189/and similar and has the DAQmx Timing vi setup for Continuous Samples, but the "Samples per Channel" port is currently not wired. The "number of samples per channel" of DAQmx Read function is set as a function of the sample rate. This setup has proven to be robust, except in a few rare instances. The Read vi is in a loop that executes 5 times per second.
To give a healthy margin on the buffer, to account for when Windows turns its attention away from Labview momentarily, should I set "Samples per Channel" within the DAQmx Timing vi to be ~5x (?) the quantity expected per loop? With modern computers with a lot of memory, and that this computer is solely dedicated to this task (and has all Office etc removed), is there a penalty in making the buffer too large?