AM9513: Generating a Delayed Pulse (Intermediate-Level VIs)
Downloads
Filename: delayed_pulse-int__9513_.zip
Requirements: View
INSTRUCTIONS:
1. Enter the device number of your board.
2. Enter the counter number.
4. Enter the pulse delay in seconds.
5. Enter the pulse width in seconds.
6. Choose the pulse polarity.
7. Make the appropriate I/O connections as explained below.
8. Run the VI.
KEY PARAMETERS:
This VI uses the Intermediate level VIs: Delayed Pulse Generator Config.vi, Counter Start.vi, and Counter Stop.vi to produce a single delayed pulse on the chosen counter. The Delayed Pulse Generator Config.vi configures the counter to output a single pulse. The Counter Start.vi initiates the delayed pulse. The Wait+ (ms).vi is used as a delay before the counter is reset. Finally, the Counter Stop.vi resets the counter.
If the pulse delay or width is zero, a very short delay or width is computed.
The "actual width" and "actual delay" outputs may differ from your desired inputs because they are integer multiples of an internal timebase. It may be that your exact desired delay or width cannot be obtained.
I/O CONNECTIONS:
Connect to the OUT pin of your chosen counter for the delayed pulse.
If you choose a timebase source other than internal, wire your external clock to the SOURCE input of the chosen counter.
If you choose a gate mode other than ungated, wire your external gate signal to the GATE pin of your chosen counter.
To find the actual pin numbers, refer to the hardware user manual.
DAQ VIs USED:
Delayed Pulse Generator Config.vi, Counter Start.vi, Counter Stop.vi.
Requirements
Filename: delayed_pulse-int__9513_.zip
Software Requirements
Application Software: LabVIEW Full Development System 5.0.1
Language(s): LabVIEW
Hardware Requirements
Hardware Group: Multifunction DAQ (MIO)
Driver: Traditional NI-DAQ (Legacy)
Reader Comments | Submit a comment »
Legal
This example program (this "program") was developed by a National Instruments ("NI") Applications Engineer. Although technical support of this program may be made available by National Instruments, this program 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 program with each new revision of related products and drivers. THIS EXAMPLE PROGRAM 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/).
