Performing Triggered Digital IO with an M Series Device in LabVIEW
Downloads
Filename: m_series_triggered_dio.vi
Requirements: View
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. Configure the analog task for digital edge triggering
6. Begin the analog task (the master in this case)
7. Read data from the analog and digital tasks and graph the results
8. Clear the tasks to free memory and display any errors
Requirements
Filename: m_series_triggered_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-6220, PCI-6221, PCI-6222, PCI-6224, PCI-6229, PCI-6284, PCI-6251, PCI-6254, PCI-6259, PCI-6280, PCI-6281, PCI-6250
Driver: NI-DAQmx 7.3
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/).
