Programming instructions

©
National Instruments Corporation 21-1 LabVIEW Data Acquisition Basics Manual
21
Common SCXI Applications
Now that you have your SCXI system set up and you are aware of the
special SCXI programming considerations, you should learn about some
common SCXI applications. This section will cover example VIs for
analog input, analog output, and digital modules. For analog input, you will
learn how to measure temperature (with thermocouples and RTDs) and
strain (with strain gauges) using the SCXI-1100, SCXI-1102, SCXI-1121,
SCXI-1122, and SCXI-1141 modules. If you are not measuring
temperature or pressure, you can still gain basic conceptual information on
how to measure voltages with an analog input module. Read these sections
and then apply the information to measuring your transducer.
Another analog input module, the SCXI-1140, is a simultaneous sampling
module. All the channels acquire voltages at the same time, which means
you can preserve interchannel phase relationships. After all channel
voltages are sampled by going into hold mode, the software will read one
channel at a time. When a scan of channels is done, the SCXI-1140 module
returns to track mode until the next scan period. Both of these operations
are performed by the analog input VIs. You can use any of the data
acquisition (DAQ) VIs, located in the
labview\examples\daq\
anlogin\anlogin.llb,
or the Getting Started Analog Input VI, found
in
labview\examples\daq\run_me.llb
, to acquire data from the
SCXI-1140 module.
For analog output, you will learn how to output voltage or current values
using the SCXI-1124 module. For digital I/O, you will learn how to input
values on the SCXI-1162/1162HV modules and output values on the
SCXI-1160, SCXI-1161, and SCXI-1163/1163R modules.