09-21-2021 06:58 AM
Hello everyone,
I'm using a NI 6229 to read a series of analog signals. On a matlab script I use to pilot the hardware, I set the rate at 50000S/s to read 5 channels on the DAQ, while moving a motorized stage. Everything works fine until NumberOfScans = 1000, if I increase the number of scans over that value I can acquire only 1000 points per channel plus series of 0s. I expected to be able to increase it until 50000.
I attach the script.
Thank you for your support
Marco Nardello
12-03-2021 07:14 AM
Dear Marco,
Number of scans for operation when starting - MATLAB (mathworks.com)
Having looked at this article from MATWORKS's support page I assume that NumberOfScans value must be multiple to 1000. And 1000 is the number of scans per second.
Hope this will help you to understand the issue.
Best Regards,
----------------------------------------------------------------------------------------------------------------
Hitting the KUDO button is the best way to say "Thank You"