National Instruments 321645c-01 Welding System User Manual


 
Chapter 2 Function Reference DAQ_Config
NI-DAQ FRM for PC Compatibles 2-118
©
National Instruments Corporation
DAQ_Config
Format
status = DAQ_Config (deviceNumber, startTrig, extConv)
Purpose
Stores configuration information for subsequent DAQ operations.
Parameters
Input
Parameter Discussion
startTrig indicates whether the trigger to initiate DAQ sequences is generated externally.
0: Generate software trigger to start DAQ sequence (the default).
1: Wait for external trigger pulse at STARTTRIG of the MIO16/16D, or at
EXTTRIG* of the AT-MIO-16F-5, AT-MIO-64F-5, and AT-MIO-16X, or at
EXTTRIG of the Lab and 1200 Series devices to initiate DAQ sequence (not
valid for 516 and LPM devices and the DAQCard-500/700).
extConv indicates whether the timing of A/D conversions during the DAQ sequence is
controlled externally or internally with the sample-interval and/or scan-interval clocks.
0: Use onboard clock to control data acquisition sample-interval and scan-interval
timing (the default).
1: Allow external clock to control sample-interval timing.
2: Allow external clock to control scan-interval timing (MIO, AI, and Lab and 1200
Series devices only).
3: Allow external control of sample-interval timing and scan-interval timing
(AT-MIO-16F-5, AT-MIO-64F-5, AT-MIO-16X, and Lab and 1200 Series
devices only).
If you are using an E Series or DSA device, see the
Select_Signal function for information
about the external timing signals.
Name Type Description
deviceNumber i16 assigned by configuration utility
startTrig i16 whether the trigger to initiate data acquisition is
generated externally
extConv i16 selects A/D conversion clock source