Optain.vi – Measurement Computing UL for NI LabVIEW User Manual
Page 29

Universal Library Virtual Instruments (VIs)
Analog Input VIs
OptAIn.VI
Changed R3.3ID
Generates option input for AInScBg.VI or AInScFg.VI.
Rev.3.3: Added NoCalibrateData option.
Rev. 7.1: Added BurstIO setting for
Mode
option
Summary:
Inputs:
ExtClock
[TF] - External (True) or internal clock (False = "
TIMED
")
ConvertData
[TF] - Separate data and channel tags (True).
(False =
NOCONVERTDATA
")
DTConnect
[TF] - DT connect option (True). (False = "
NODTCONNECT
")
ExtMemory
[TF] - External memory option (Mega Fifo board) (True).
False= "
NORMMEMORY
")
Mode
[I32] - Sampling mode used.
BurstMode
[TF] - Burst mode option (board-specific) (True). (False =
"
NOBURSTMODE
")
ExtTrigger
[TF] - External trigger option (True). (False = "
NOEXTRIGGER
")
NoToDints
[TF] - Option to disable time of day interrupts (True).
(False = "
TODInts
")
NoCalData
[TF] - Option to disable real time software calibration (True).
(False = "
CalData
")
Output:
AInScanOptions
[I32] - Anded value of input options.
Arguments:
ExtClock
If this option is used, then conversions will be controlled by the signal on the
trigger input line rather than by the internal pacer clock. Each conversion will be
triggered on the appropriate edge of the trigger input signal (refer to board-specific
information). When this option is used, the
Rate
argument is ignored. The
sampling rate is dependent on the trigger signal. Options for the board will default
to a transfer mode that will allow the maximum conversion rate to be attained
unless otherwise specified.
ConvertData
If
the
CONVERTDATA
option is used for 12-bit boards, then the data that is
returned to data buffer (array) will automatically be converted to 12-bit A/D
values. If
NOCONVERTDATA
is used, data from 12-bit A/D boards will be returned as
16-bit values that will contain both a 12-bit A/D value and a 4-bit channel number.
After the data collection is complete, you can call ACvtData.VI to convert the data
after the fact.
CONVERTDATA
cannot be specified if you are using a background
VI and DMA transfers. This option is ignored for 16-bit boards.
DTConnect
All A/D values will be sent to the A/D board's DT CONNECT port. This option is
incorporated into the
EXTMEMORY
option. Use DTCONNECT only when the
external board is not supported by the Universal Library.
29