User manual

Chapter 3 Software Overview
NI-DAQ User Manual for PC Compatibles 3-114 ni.com
Figure 3-42 shows the function call sequence of a single-channel or
software-scanning application using an SCXI-1100, SCXI-1101,
SCXI-1102/B/C, VXI-SC-1102/B/C, SCXI-1104/C, SCXI-1112,
SCXI-1120/D, SCXI-1121, SCXI-1122, SCXI-1125, SCXI-1126,
SCXI-1141, SCXI-1142, SCXI-1143, SCXI-1520, SCXI-1530,
SCXI-1531, or SCXI-1540 module operating in multiplexed mode.
Figure 3-42. Single-Channel or Software-Scanning Operation in Multiplexed Mode
The
SCXI_Single_Chan_Setup
function selects the given channel
to appear at the module output. If the given module is not directly cabled to
the DAQ device, the function sends the module output on the SCXIbus, and
then configures the module that is cabledtotheDAQdevicetosendthe
signal present on the SCXIbus to the DAQ device.
SCXI_Change_Chan
SCXI_Single_Chan_Setup
Done?
SCXI_Set_Gain
Have you acquired all the data you
need from this module?
Yes
No
If desired, change the
selected channel on
the module.
Acquire data from the
desired channel on the
module using the
AI
functions or the
DAQ
functions.
Single Analog Input
Single-Channel Data Acquisition
If the desired module has programmable gain and
the current module gain setting is not desirable,
change to the desired gain.
Set up the chassis for a single-channel analog input
operation on a specified channel on a specified module.