Chapter 5 Getting Started with Measurement Studio
© National Instruments Corporation 5-53 Measurement Studio User Manual
The National Instruments Instrument I/O Assistant organizes instrument
communication for a serial, Ethernet, or GPIB instrument into ordered
steps. This walkthrough is designed to help you learn how to build an
instrument I/O application by taking you through the following steps:
Setting up the project—Using the Measurement Studio VISA
Windows Application project, you will create a new project that
references the VisaNS assembly and launches the Instrument I/O
Assistant to create a VisaNS task.
Performing a query on the instrument—Using the Instrument I/O
Assistant, you will write a command to an instrument and read the
instrument response.
Displaying Instrument I/O Assistant data on your UI—Using text
box and button controls, you will create a Windows Forms application
to display the Instrument I/O Assistant data.
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
National Instruments Device Driver CD
Message-based instrument on a supported VISA bus, such as GPIB or
Serial
Note For more information about the Instrument I/O Assistant, refer to the Instrument I/O
Assistant Help by selecting the Show Help button inside the assistant.
Setting 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.