National Instruments SCXI-1503 Network Card User Manual


 
Chapter 5 Using the SCXI-1503
SCXI-1503 User Manual 5-10 ni.com
Using a NI-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. The ActiveChans property is displayed by default. 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.
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-5. Programming a Task in LabVIEW (Continued)
Flowchart Step VI or Program Step