
SCC-68 User Guide
32
ni.com
You now can use the global virtual channel in an application or add the
global channel to a task. Refer to the
DAQ Assistant Help
for more
information about creating tasks and virtual channels and using them in an
application.
In LabWindows/CVI and Measurement Studio, you cannot directly create
a global virtual channel; you must create them in MAX as previously
described.
Using Your Task in an Application
Complete the following steps to use a measurement task in your
application. Refer to the
DAQ Assistant Help
for more information about
using a task or generating code.
To run examples without hardware installed, you can use NI-DAQmx
simulated devices. In MAX, refer to the
Measurement & Automation
Explorer Help for NI-DAQmx
by selecting
Help»Help Topics»
NI-DAQmx
for instructions about creating NI-DAQmx simulated devices
and importing NI-DAQmx simulated device configurations to physical
devices.
LabVIEW
1.
Open a blank VI in LabVIEW.
2.
Place the following constant on the block diagram from the functions
palette:
NI Measurement»DAQmx-Data Acquisition»DAQmx
Task Name Constant
.
3.
Select the task from the pull-down menu.
4.
Right-click the VI and select
Generate Code»Example
to generate
the code to run the task.
5.
Run the program from the front panel.
LabWindows/CVI
Refer to
ni.com/info
and enter the information code
rddq73
for
step-by-step instructions for using a task in LabWindows/CVI.
Measurement Studio
Refer to
ni.com/info
and enter the information code
rddqms
for
step-by-step instruction for using a task in Measurement Studio.