
Chapter 5
Using the SCXI-1521/B
5-8
ni.com
Configure Channels
(optional)
DAQmx Channel Property Node, refer to the
Channel Property Node in LabVIEW
section for more
information. This step is optional if you created and fully
configured the channels in your task using the DAQ Assistant.
Any channel modifications made with a channel property node
are not saved in the task in the DAQ Assistant, they are only
available for the present session.
Perform Offset Null
Compensation
You can perform offset null compensation when you create and
configure your channels using the DAQ Assistant. Refer to the
Creating a Strain Global Channel or Task
section of Chapter 3,
, for information about offset null
compensation in MAX.
Perform Shunt Calibration
You can perform shunt calibration when you create and configure
your channels using the DAQ Assistant. Refer to the
section of Chapter 3,
, for information about shunt calibration in MAX.
Start Measurement
DAQmx Start Task.vi
Read Measurement
DAQmx Read.vi
Analyze Data
Some examples of data analysis include filtering, scaling,
harmonic analysis, or level checking. Some data analysis tools
are located on the
Functions»Signal Analysis
subpalette and on
the
Functions»All Functions»Analyze
subpalette.
Display Data
You can use graphical tools such as charts, gauges, and graphs to
display your data. Some display tools are located on the
Controls»Numeric Indicators
subpalette and
Controls»
All Controls»Graph
subpalette.
Continue Sampling
For continuous sampling, use a While Loop. If you are using
hardware timing, you also need to set the
DAQmx Timing.vi
sample mode to Continuous Samples. To do this right-click the
terminal of the
DAQmx Timing.vi
labeled
sample mode
and
click
Create»Constant
. Click the box that appears and select
Continuous Samples
.
Stop Measurement
DAQmx Stop Task.vi
(This VI is optional, clearing the task
automatically stops the task.)
Clear Task
DAQmx Clear Task.vi
Table 5-2.
Programming a Task in LabVIEW (Continued)
Flowchart Step
VI or Program Step