![NI PXI-4220 Скачать руководство пользователя страница 80](http://html1.mh-extra.com/html/ni/pxi-4220/pxi-4220_user-manual_1685516080.webp)
Chapter 5
Developing Your Application
NI PXI-4220 User Manual
5-10
ni.com
Using a DAQmx Channel Property Node in LabVIEW
Note
With the NI PXI-4220 you must use property nodes to disable SS/H.
You can use property nodes in LabVIEW to manually configure your
channels. To create a LabVIEW property node, complete the following
steps:
1.
Launch LabVIEW.
2.
You can create the property node in a new VI or in an existing VI.
3.
Open the block diagram view.
4.
From the
All Functions
toolbox select
All Functions»
NI Measurements»DAQmx - Data Acquisition
, and select
DAQmx
Channel
Property
Node
.
5.
There is a box labeled
Active Channels
, which allows you to specify
exactly what channel(s) you want to configure. If you want to
configure several channels with different properties, separate the lists
of properties with another
Active Channels
box and assign the
appropriate channel to each list of properties.
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
select
Create»Constant
. Click the box that opens 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
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com