Using an internal source, Using an external source, Other timing requirements – National Instruments NI USB-621x User Manual

Page 41

Advertising
background image

Chapter 4

Analog Input

© National Instruments Corporation

4-15

NI USB-621x User Manual

Using an Internal Source

One of the following internal signals can drive ai/SampleClock.

Counter n Internal Output

AI Sample Clock Timebase (divided down)

A software pulse

A programmable internal counter divides down the sample clock timebase.

Using an External Source

Use the external signals PFI <0..3> or PFI <8..11> as the source of
ai/SampleClock.

Routing AI Sample Clock Signal to an Output
Terminal

You can route ai/SampleClock out to any PFI <4..7> or PFI <12..15>
terminal. This pulse is always active high.

You can specify the output to have one of two behaviors. With the pulse
behavior, your DAQ device briefly pulses the PFI terminal once for every
occurrence of ai/SampleClock.

With level behavior, your DAQ device drives the PFI terminal high during
the entire sample.

Other Timing Requirements

Your DAQ device only acquires data during an acquisition. The device
ignores ai/SampleClock when a measurement acquisition is not in progress.
During a measurement acquisition, you can cause your DAQ device to
ignore ai/SampleClock using the ai/PauseTrigger signal.

A counter on your device internally generates ai/SampleClock unless you
select some external source. ai/StartTrigger starts this counter and either
software or hardware can stop it once a finite acquisition completes. When
using an internally generated ai/SampleClock, you also can specify a
configurable delay from ai/StartTrigger to the first ai/SampleClock pulse.
By default, this delay is set to two ticks of the ai/SampleClockTimebase
signal. When using an externally generated ai/SampleClock, you must
ensure the clock signal is consistent with respect to the timing requirements
of ai/ConvertClock. Failure to do so may result in ai/SampleClock pulses
that are masked off and acquisitions with erratic sampling intervals. Refer

Advertising