From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
You are acquiring 1000 s/S/ch with a period of your app of about 36 mS and acquiring 40 S. You are executing everything on windows. Are you sure that your app can keep up with the pace?
Try to look at the loop cycle and decrease it. Acquiring 80 samples enables you to be sure that the buffer stays empty.