03-18-2008 01:10 AM
03-18-2008 04:34 PM - edited 03-18-2008 04:34 PM

03-19-2008 05:19 AM
03-20-2008
04:11 PM
- last edited on
10-23-2025
06:04 PM
by
Content Cleaner
Hi Amber,
I took a quick look at your VI and I believe you can indeed use continuous generation/acquisition. Using continuous mode doesn't mean you will be outputing the same thing continuously, you can continuously write to the DAQ board. Also, a good rule of thumb is to read a number of samples that is 10% of the sampling rate. This will give a more real-time appearance as DAQmx won't be waiting for the buffer to fill up to the specified number of samples before it reads. For example, your write DAQ assistant is set up for a sampling rate of 10k but output 40k. This will take four seconds before you get any output. I hope that these things help and you should be able to get some better results this way. Take a look at this great tutorial about DAQmx programming also. There is a great deal of information in here that allows users of all skill levels to get fully functional DAQ applications quickly. For example, using out DAQ vis, other than the DAQ assistant, you can do things such as starting both the analog output and input at the exact same time and also sharing the same clock. I hope these things help.
Getting Started with NI-DAQmx: Basic Programming with NI-DAQmx
https://www.ni.com/en/support/documentation/supplemental/06/getting-started-with-ni-daqmx--main-page...
Learn 10 Functions in NI-DAQmx and Handle 80 Percent of Your Data Acquisition Applications
https://www.ni.com/en/support/documentation/supplemental/06/learn-10-functions-in-ni-daqmx-and-handl...