Chapter 5 Getting Started with Measurement Studio
© National Instruments Corporation 5-43 Measurement Studio User Manual
•Configuring your task—Using the DAQ Assistant, you will
interactively configure and save your task. The wizard then generates
code to reflect your configuration settings. The wizard also generates
a component that provides common operations for your task and
integration with the Windows Forms designer.
•Creating a custom user interface for the task—Using the DAQ
Component UI generation wizard, you will create a custom user
interface that uses the DAQ component you created to automatically
plot the DAQ signal.
Before you begin
The following components are required to complete this walkthrough:
• Visual Studio 2005 or Visual Studio 2008
• Measurement Studio 8.0.1 or later (Professional or Enterprise
package) for Visual Studio 2005 or Measurement Studio 8.5 or later
(Professional or Enterprise package) for Visual Studio 2008
• NI-DAQmx 8.1 or later for Visual Studio 2005 or NI-DAQmx 8.7.1 or
later for Visual Studio 2008
• NI-DAQmx-supported DAQ device or simulated device
For information about installing and configuring your DAQ device, refer to
the DAQ Getting Started Guide. You can also use a simulated device to
complete this walkthrough. For information on how to create an
NI-DAQmx simulated device, refer to Creating NI-DAQmx Simulated
Devices in the Measurement & Automation Explorer Help for NI-DAQmx.
To open this help, select Start»All Programs»National Instruments»
Measurement & Automation. In Measurement & Automation Explorer
(MAX), select Help»Help Topics»NI-DAQmx»MAX Help for
NI-DAQmx. For the purposes of this walkthrough, the NI PCI-6280 device
of the M Series DAQ family is recommended.
To set up the project
1. Open Visual Studio from Start»All Programs»Microsoft Visual
Studio 2005»Microsoft Visual Studio 2005 or Start»All Programs»
Microsoft Visual Studio 2008»Microsoft Visual Studio 2008.
2. Select File»New»Project.The New Project dialog box launches.