M Series Hardware-Timed DIO with Counter Clock Generation
VI Description:
------------------
This VI shows how to use an onboard counter to generate a sample clock for use with hardware-timed (aka "correlated") DIO on port 0 of an M Series MIO NI-DAQ card. No external connections are necessary.
-------------------------
Block Diagram Steps:
-------------------------
1. Create a Counter Output pulse train channel to provide the clock signal
2. Create a Digital Input channel on port 0 of any M Series DAQ device.
3. Configure pulse train duration to correspond with number of samples requested for Digital Input operation.
4. Start the Digital Input task FIRST, then begin clock generation by starting the Counter Output task.
5. Return all samples to a waveform chart and clear both tasks before checking for any errors.
Requirements
Filename: 4669.vi
Software Requirements
Application Software: LabVIEW Professional Development System 7.1, LabVIEW Base Development System 7.1, LabVIEW Full Development System 7.1
Language(s): LabVIEW
Hardware Requirements
Hardware Group: Multifunction DAQ (MIO)
Hardware Model: PCI-6221, PCI-6225, PCI-6229, PCI-6289, PCI-6259, PCI-6281, PCI-6251
Driver: NI-DAQmx 7.5
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/).
