05-12-2008 04:10 PM
05-12-2008 07:18 PM
05-12-2008 11:09 PM
Please don't ask the same question in another thread using a different user name!!!![]()
05-13-2008 10:10 AM
05-13-2008 10:28 AM - edited 05-13-2008 10:28 AM

05-13-2008 11:02 AM - edited 05-13-2008 11:08 AM
Hi Panfilero
The DAQ Assistant provides an easy to use interface which,
among other things, will allow you to setup your sampling rate through a
control on the Front Panel. I've attached some images of how to configure the
sampling rate for the DAQ Assistant. First, you must configure your DAQ
Assistant's sampling mode to N-Samples or Continuous Samples. Then you can find
the terminal on the Block Diagram that says Rate and wire in a numeric control
into the terminal. You can find the terminal by either holding your mouse over
the small terminals on the top left of the VI or by pulling down more terminals
at the bottom and then selecting Rate as an option as show by Ravens Fan above.


To further give you flexibility and more programming power, take a look at the example that ships with DAQmx titled Cont Acq Thermocouple Samples-Int Clk. You can find this under Help»Find Examples...
NOTE: You cannot change the sampling rate while a DAQmx Task is running. This is something that will be setup before committing the task to the board (i.e. Start Task.VI or executing the DAQ Assistant). Therefore changing the Sampling Rate while your program is running is not an option and the Task will have to be stopped and started to do this programmatically. A workaround would be to provide an external clock.
05-13-2008 12:42 PM



05-13-2008 01:54 PM