Academic Company Events NI Developer Zone Support Solutions Products & Services Contact NI MyNI

Document Type: Example Program
NI Supported: Yes
Publish Date: Sep 6, 2006

NI-TIO: Generating a Pulse Train on the Default OUT Pin

1 ratings | 1.00 out of 5
Print

Downloads

Filename: 200086.zip
Requirements: View

This VI generates a continuous pulse train on the default out pin of the chosen counter upon a digital start trigger. This pulse train can be level gated with the counter gate. This VI works with NI-TIO based devices (e.g.: 6602).

INSTRUCTIONS:
1. Enter the device and counter you want use.
2. Make your Pulse Specification selections, as desired.
3. Optional controls are located on the left side of the front panel. You will have to use your scroll bar to reach these.
4. Connect your signals as described below in I/O CONNECTIONS.
5. Run the VI.

KEY PARAMETERS:
Counter Group Config.vi: task type = pulse train generation
Set Pulse Specs.vi: pulse specs
Counter Gate (NI-TIO).vi: Gate Specification
Counter Control.vi: Program, Reset

I/O CONNECTIONS:
Connect the gating signal to the gate input of the selected counter.
If you selected the Source Selection to be "PFI line", connect your event count base signal to the PFI line indicated by "Source PFI line number used". (If you selected "Internal Timebase", no source connection is necessary.)
NOTE: For actual I/O pin numbers, please refer to your hardware user manual.

DAQ VIs USED:
Counter Group Config.vi
Set Pulse Specs.vi
Counter Gate (NI-TIO).vi
Counter Control.vi

Requirements


Filename: 200086.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)

 
1 ratings | 1.00 out of 5
Print

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/).