Chapter 2 Configuration and Installation
© National Instruments Corporation 2-19 Lab-NB User Manual
If PRETRIG is set, EXTTRIG serves as a pretrigger signal. In pretrigger mode, A/D conversions
are enabled via software before a rising edge is sensed on the EXTTRIG input. However, the
sample counter, counter A1, is not gated on until a rising edge is sensed on the EXTTRIG input.
Additional transitions on this line have no effect until a new DAQ sequence is set up.
Conversions remain enabled for the programmed count after the trigger; therefore, data can be
acquired before and after the trigger. Pretrigger mode works only in controlled acquisition
mode, that is, counter A1 is required to disable A/D conversions after the programmed count
expires. Thus, the maximum number of samples acquired after the trigger is limited to 65,535.
The number of samples acquired before the trigger is limited only by the size of the memory
buffer available for data acquisition. Figure 2-13 shows a pretrigger DAQ timing sequence.
tw 50 nsec minimum
EXTTRIG
EXTCONV*
CONVERT
Sample
Counter
VIH
VIL
4
tw
tw
3210
Figure 2-13. Pretrigger DAQ Timing
Because both pretrigger and posttrigger modes use EXTTRIG input, only one mode can be used
at a time. If neither PRETRIG nor EXTTRIGEN is set high, this signal has no effect.
The final external control signal, EXTUPDATE*, is used to externally control the updating of
the output voltage of the 12-bit DACs or to generate an externally timed interrupt on the NuBus.
If the TMRWGEN bit in the DAC Configuration Register is set, the DAC voltage is updated by a
low level on the EXTUPDATE* signal. If the TMRINTEN bit in the Interrupt Control Register
is set, an interrupt is generated whenever a rising edge is detected on the EXTUPDATE* bit .
Therefore, externally timed, interrupt-driven waveform generation is possible on the Lab-NB.
Figure 2-14 illustrates a waveform generation timing sequence using the EXTUPDATE* signal.
Notice that the DACs are updated by a low level on the EXTUPDATE* line. Any writes to the
DAC Data Registers while EXTUPDATE* is low therefore result in immediate update of the
DAC output voltages.