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.
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.
12-10-2007 05:11 PM
12-10-2007 05:13 PM
12-12-2007 01:58 PM
Hi Leonard.ma,
The error -200284 usually occurs when the timing parameters are not set correctly. This is thoroughly explained in the KnowledgeBase Article: Why Do I Get Error -200284 When I Set a Small Sampling Rate in DAQmx? However, when I set up and run a modified version of the acquireNScans.c example to match you parameters on a USB-6009, I do not receive any errors. Try running the attached file to see if you get the same error.
You mention that you use a button to start the acquisition. How are you handling a button press event? If the problem persists, please post a larger picture of your application to better show possible causes.