Chapter 2 Measurement Studio .NET Class Libraries
© National Instruments Corporation 2-15 Measurement Studio User Manual
Use the features in the Network Variable class library to perform the
following operations:
Exchange different types of data between Measurement Studio,
LabVIEW, LabWindows/CVI, and other applications that support
NI-Publish Subscribe Protocol (psp:) and OLE for Process Control
(opc:) servers. Exchanging data between Measurement Studio
applications and OPC servers requires LabVIEW DSC.
Note Measurement Studio and LabWindows/CVI refer to variables as network variables
and LabVIEW refers to variables as shared variables. However, you can read to and write
from Measurement Studio and LabWindows/CVI network variables with LabVIEW
shared variables.
Use Windows Forms and Web Forms data sources to expose Network
Variable data items that you can bind to properties of a Windows
Forms or a Web Forms control.
•Use the NationalInstruments.NetworkVariable.Browser
classes to discover network variables and processes.
•Use the NationalInstruments.NetworkVariable.
ServerProcess, NationalInstruments.NetworkVariable.
ServerProcessInfo, NationalInstruments.
NetworkVariable.ServerVariable, and
NationalInstruments.NetworkVariable.
ServerVariableInfo classes to explicitly create network variables.
Use the Network Variable Browser dialog box to quickly locate and
select data items on other computers and servers. The Browser Dialog
is included in the WindowsForms class.
Tip For more detailed information about the Network Variable class library, refer to the
Using the Measurement Studio Network Variable .NET Library section in the
NIMeasurement Studio Help.
DataSocket
The Measurement Studio DataSocket .NET class library is in the
NationalInstruments.Net namespace. Use the DataSocket class
library to transfer live measurement data over the Internet or an intranet,
between applications on the same computer, and to and from files. Use the
classes in the DataSocket class library to perform the following operations:
Read and write data between different data sources and targets.
Use a single, simple API to communicate with several types of servers,
including DataSocket Servers (dstp:), Web servers (http:), file