Using the Hardware Start Trigger for Single Pulse Generation
Description
Single pulse generation creates a single pulse after the counter is armed and after a hardware signal is received. Depending on the type of counter, it can be possible to specify the delay and pulse width.The DAQ-STC or NI-TIO based counters specify the pulse delay with COUNT_1 parameter (the number of source pulses to wait) and the pulse width with the COUNT_2 parameter.
Common Applications
8253-based counters:
Mode 1 generates a pulse of specified width after the rising edge of a gate pulse.

Mode 1 Timing Diagram
Mode 5 generates a pulse with a specified delay but a width of one source pulse after a rising edge on the gate.

Mode 5 Timing Diagram
Am9513 based counters:
The Am9513 counters can generate a pulse with the delay and the width user-specifiable. Use CTR Pulse Config.vi in LabVIEW or CTR_Pulse in NI-DAQ.
DAQ-STC based counters:
The DAQ-STC counters can generate a pulse with the delay and the width user-specifiable. Use the Counter Group Config VI in LabVIEW and use the Counter Set Attribute VI to set Pulse Spec 1 and 2. In NI-DAQ, use GPCTR_Set_Application with application = ND_SINGLE_TRIG_PULSE_GNR and GPCTR_Change_Parameter with ND_COUNT_1 and ND_COUNT_2.

Single Triggered Pulse Generation
NI-TIO based counters:
The NI-TIO counters (presently used only on the PCI-6601/6602 devices) can also generate pulses with specifiable delay and width. Use the Counter Group Config VI in LabVIEW and set Pulse Spec 1 and 2 with the Counter Set Attribute VI. (In NI-DAQ, use GPCTR_Set_Application width ND_SINGLE_TRIG_PULSE_GNR and GPCTR_Change_Parameter respectively).
Reader Comments | Submit a comment »
Legal
This tutorial (this "tutorial") was developed by National Instruments ("NI"). Although technical support of this tutorial may be made available by National Instruments, the content in this tutorial may not be completely tested and verified, and NI does not guarantee its quality in any way or that NI will continue to support this content with each new revision of related products and drivers. THIS TUTORIAL IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND AND SUBJECT TO CERTAIN RESTRICTIONS AS MORE SPECIFICALLY SET FORTH IN NI.COM'S TERMS OF USE (http://ni.com/legal/termsofuse/unitedstates/us/).
