Solution
When setting the Acquisition Mode to N Samples or Continuous Samples, you must specify an external sample clock source for the counter to run. This is because there are no internal timing engines for the counters. To resolve this, you can use a separate counter to generate a clock signal on a PFI line, you can connect an external clock signal to a PFI line, or you can use the analog input or output sample clock as the clock source for your counter. More information on these three methods can be found in this article about the
Options for Hardware-Timed Digital I/O on M Series DAQ Device.
Once you have decided on an external clock source, specify the clock source under the Advanced Timing tab as shown below:
If you have chosen to use a second counter as the external source, or the analog input or output sample clock, make sure that the counter or analog task is started and running, otherwise there will not be a sample clock running for the N Sample or Continuous Samples counter task when you attempt to run it.
If you do not want to specify an external clock source, you must choose the 1 Sample (On Demand) option for Acquisition Mode.