Just came back to give an update on this problem, as it was fixed.
Another task the program does is periodically output a certain measurement to an analog output to be analyzed externally. This feature is pretty much never used anymore, but the program still does it. Setting the DAC Output to "False" in the program settings solved this problem. No more underflow for the analog output, everything works great now! Thanks for all your help!