Using Digital Scan Clock Gating for a Continuous Analog Acquisition
Downloads
Filename: digscanclockgating.c
Requirements: View
Refer to the link below for more information on scan clock gating.
I/O Connections:
Connect your analog signal to analog input (AI) channel 1. The default analog input mode for the DAQ device is used.
Connect the digital gate signal to PFI0. While this pin is low, scanning pauses. To change the input PFI line for the gate signal or to change the polarity, you must modify the Select_Signal function call.
Refer to the hardware user manual for device-specific I/O connection details.
NI-DAQ Functions Used:
Timeout_Config, NIDAQErrorHandler, DAQ_Rate, DAQ_DB_Config, DAQ_Start, DAQ_DB_HalfReady, DAQ_DB_Transfer, NIDAQYield, DAQ_Clear, Select_Signal
| Related Links: |
| Continuous Waveform Acquisition Using Scan Clock Gating |
Requirements
Filename: digscanclockgating.c
Software Requirements
Application Software: LabWindows/CVI Full Development System 5.0
Language(s): C
Hardware Requirements
Hardware Group: Multifunction DAQ (MIO)
Driver: Traditional NI-DAQ (Legacy) 6.5.0
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/).
