Using the Measurement Studio Network Variable .NET Library to Exchange Data with LabVIEW and LabWindows/CVI

Measurement Studio 2012 for Visual Studio 2010 Help

Edition Date: August 2012

Part Number: 372636F-01

»View Product Info
Download Help (Windows Only)

See Also

Note: This topic applies to the following editions: Enterprise, Professional

Network or Shared Variables

Measurement Studio and LabWindows/CVI use network variable to describe software items that exist on a network that can communicate between programs, applications, remote computers, and hardware through the Shared Variable Engine. Variables can represent a value or an I/O point. The Shared Variable Engine uses the NI Publish-Subscribe Protocol (NI-PSP) data transfer protocol to write and allow users to read live data. NI-PSP is a proprietary technology that provides fast and reliable data transmission for large and small applications and is installed as a service on the computer when you install Measurement Studio, LabWindows/CVI, or LabVIEW.

Benefits of Exchanging Data Between Measurement Studio, LabVIEW, and LabWindows/CVI

With network or shared variables, you can exchange data between Measurement Studio, LabVIEW, and LabWindows/CVI. You use network or shared variables to create cross product applications where certain tasks can be divided into different programming environments. Dividing tasks can save you time when developing applications. For example, you can use LabVIEW to acquire data with minimal coding effort. Then, you can manipulate the data using a Visual C or .NET language program, such as LabWindows/CVI or Measurement Studio. You can present the data in any environment, including data displayed in a Measurement Studio ASP.NET Web page.

Exchanging Data Between Environments

To exchange data between different environments, create a network or shared variable using the Distributed System Manager, Network Variable .NET class libraries, or a LabVIEW project. After you create the variable, you can write or read to it from Measurement Studio, LabVIEW, or LabWindows/CVI. Refer to the Network Variable .NET class library reader and writer overview pages, such as"NetworkVariableReader(TValue), for the data types supported between LabVIEW and LabWindows/CVI.

Note: LabWindows/CVI does not support AnalogWaveform(TData) or AnalogWaveform(TData) arrays.

See Also


Not Helpful