Chapter 5
Using the SCXI-1521/B
©
National Instruments Corporation
5-9
Using a DAQmx Channel Property Node in LabVIEW
You can use property nodes in LabVIEW to manually configure the
channels. To create a LabVIEW property node, complete the following
steps:
1.
Launch LabVIEW.
2.
Create the property node in a new VI or in an existing VI.
3.
Open the block diagram view.
4.
From the
Functions
toolbox, select
All Functions»
NI Measurements»DAQmx - Data Acquisition
, and select
DAQmx Channel Property Node
.
5.
Left-click inside the box labelled
Property
, and select
Active
Channels
. This 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.
Note
If you do not use Active Channels, the properties are set on all of the channels in
the task.
6.
Right-click
ActiveChans
, and select
Add Element
. Left-click the new
ActiveChans
box. Navigate through the menus, and select the
property you wish to define.
7.
Change the property to read or write to either get the property or write
a new value. Right-click the property, go to
Change To
, and select
Write
,
Read
, or
Default Value
.
8.
After you have added the property to the property node, right-click the
terminal to change the attributes of the property, add a control,
constant, or indicator.
9.
To add another property to the property node, right-click an existing
property and left-click
Add Element
. To change the new property,
left-click it and select the property you wish to define.
Note
Refer to
LabVIEW Help
for information about property nodes and specific
NI-DAQmx properties.