National Instruments SCXI -1125 Manual Do Utilizador

Página de 101
Chapter 5    Using the SCXI-1125
© National Instruments Corporation
5-13
Follow the general programming flowchart or open an example to build a 
basic virtual channel. You can use property nodes in LabVIEW to control, 
configure, and customize the NI-DAQmx task and SCXI-1125. To create a 
LabVIEW property node, complete the following steps:
1.
Launch LabVIEW.
2.
Create the property node in a new Virtual Instrument (VI) or in an 
existing VI.
3.
Open the block diagram view.
4.
From the Functions tool bar, select NI Measurements
DAQmx - Data Acquisition, and select the type of property node you 
wish to configure.
5.
Use the ActiveChans box to specify what channel(s) you want to 
configure. If you want to configure several channels with different 
properties, separate the lists of properties with another ActiveChans 
box, and assign the appropriate channel to each list of properties.
6.
Right-click ActiveChan and select Add Element. Left-click the new 
ActiveChan box. Navigate through the menus and select the property 
you wish to define.
7.
You must 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 WriteRead, 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 the LabVIEW Help for information about property nodes and specific 
NI-DAQmx properties.