©
National Instruments Corporation
27
SCC Quick Start Guide
•
You also can open the DAQ Assistant directly within NI application
software:
–
In LabVIEW:
•
Place on the block diagram the DAQ Assistant Express VI
from the Express Input palette, as described in
Getting
Started with LabVIEW
.
•
You also can place on the front panel the DAQmx Task Name
control from the DAQmx Name Controls palette to open the
DAQ Assistant. Right-click the control and select
New Task
(DAQ Assistant)
.
Taking an NI-DAQmx Measurement in
LabVIEW
has step-by-step instructions for creating a task
from the DAQmx Task Name control and generating code
based on the task. In LabVIEW, select
Help»Taking an
NI-DAQmx Measurement
.
–
In LabWindows/CVI:
1.
Select
Tools»Create/Edit DAQmx Tasks
. The Create/Edit
DAQmx Tasks dialog box opens.
2.
Select
Create New Task In MAX
or
Create New Task In
Project
and click
OK
.
–
In Measurement Studio:
1.
Open Visual Studio .NET and the project in which you want
to create a DAQmx task class.
2.
Select
Project»Add New Item
. The Add New Item dialog
box opens.
3.
In the Categories pane, select
Measurement Studio»
Assistants
.
4.
In the Templates pane, select
DAQmx Task Class
.
5.
Specify a name for the DAQmx task file and click
Open
.
6.
Specify whether to create a new task or a project copy of a
global task you create in MAX.
7.
Click
Finish
.
The DAQ Assistant prompts you to create a new task:
1.
Select an I/O type, such as analog input.
2.
Select the measurement or generation to perform based on the
hardware functionality of your module. Table 4 lists the measurement
types in NI-DAQmx and how they correspond to the SCC modules.
For additional information about SCC-
XX
module-specific
channel/task settings, refer to the individual SCC-
XX
module user
guide.