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


Feedback


Yes No

Related Categories

Related Links - Developer Zone

Related Links - Products and Services

Performing Correlated Digital IO with an M Series Device in LabVIEW

4 ratings | 4.25 out of 5
Print

Downloads

Filename: m_series_correlated_dio.vi
Requirements: View

The M Series of National Instruments MIO data acquisition products includes the capability to synchronize digital input and output with other operations. "Correlated Digital IO" enables the coupling of buffered digital tasks with the analog, counter/timer, or external clocks. The Digital I/O subsystem does not have its own internal clock source, and therefore, an external signal or clock from another subsystem on the board must be provided - thus correlating the digital data to this signal. This example program illustrates how to perform a finite, buffered, digital input task correlated to a concurrent analog input task.

1. Create virtual channels for the analog and digital input channels
2. Configure the master sample clock (in this case, analog input)
3. Select the timing source for the digital acquisition
(M Series digital can be correlated to the analog, counter/timer, and external clocks)
4. Begin the digital task, preparing it to start with the master
5. Begin the analog task (the master in this case)
6. Read data from the analog and digital tasks and graph the results
7. Clear the tasks to free memory and display any errors

Requirements


Filename: m_series_correlated_dio.vi

Software Requirements


Application Software: LabVIEW Base Development System 7.1
Language(s): LabVIEW

Hardware Requirements


Hardware Group: Multifunction DAQ (MIO)
Hardware Model: PCI-6284, PCI-6220, PCI-6221, PCI-6222, PCI-6224, PCI-6281, PCI-6250, PCI-6251, PCI-6254, PCI-6259, PCI-6280, PCI-6229
Driver: NI-DAQmx 7.3

 
4 ratings | 4.25 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/).