Chapter 2
Measurement Studio .NET Class Libraries
Measurement Studio User Manual
2-4
ni.com
NI-488.2
The Measurement Studio NI-488.2 .NET class library is in the
NationalInstruments.NI4882
namespace. This class library is included
on the Device Drivers CD. The NI-488.2 class library includes a set of
classes that communicates with GPIB instruments, controls GPIB boards,
and acquires GPIB status information. Use this library to design code that
communicates with and controls instruments on a GPIB interface. Use the
classes in the NI-488.2 class library to perform the following operations:
•
Configure and communicate with GPIB instruments and boards.
•
Perform I/O operations using the
Device
and
Board
classes.
Tip
For information about easily creating a Measurement Studio NI-488.2 application
using the Instrument I/O Assistant, refer to the
Creating a Measurement Studio NI-488.2
section of Chapter 4,
Developing with Measurement Studio
. For
more information about GPIB, visit
ni.com/gpib
.
NI-DAQmx
The Measurement Studio NI-DAQmx .NET class library is in the
NationalInstruments.DAQmx
namespace. This class library is
included on the Device Drivers CD. Use the NI-DAQmx class library to
communicate with and control NI data acquisition (DAQ) devices.
Note
Some DAQ devices are not currently supported by the NI-DAQmx driver. Refer
to the
NI-DAQ Readme
for a complete listing of supported hardware.
Use the NI-DAQmx class library to perform the following types of tasks:
•
Analog signal measurement
•
Analog signal generation
•
Digital I/O
•
Counting and timing
•
Pulse generation
•
Signal switching
Tip
For information about easily creating a DAQ application using the NI DAQ Assistant,
refer to the
Creating a Measurement Studio DAQ Application
section of Chapter 4,
Developing with Measurement Studio
. For more information about DAQ, visit
ni.com/daq
.