Measurement Studio for .NET Languages

cancel
Showing results for 
Search instead for 
Did you mean: 

Using Network variables for both read and write

I'm new to measurement studio and working on a .NET project trying to communicate with a Labview project using network variables.

 

If I want to both read and write a network variable, in the .NET project do I need to create both a NetworkVariableWriter and NetworkVaribleReader for a single network variable?

 

This network variable doesn't constantly update, and is a value that the .NET project would be writing almost all of the time, but it could be changed by the labview project. The main time I would like to read the variable is upon connection.

 

Is binding the network variable to a .NET UI control the only solution?

0 Kudos
Message 1 of 2
(5,470 Views)

Hi melcher,

 

It seems that you will need both the NetworkVariableReader and the NetworkVariableWriter. Take a look at the following resources concerning this process:

 

Using the Measurement Studio Network Variable .NET Library to Exchange Data with LabVIEW and CVI: http://zone.ni.com/reference/en-XX/help/372636F-01/mstudiowebhelp/html/usingnetworkvariableexchanged...

 

Using the Measurement Studio Network Variable .NET Library: http://zone.ni.com/reference/en-XX/help/372636F-01/mstudiowebhelp/html/usingninetnetworkvariable/

 

Key Measurement Studio Network Variable .NET Library Features: http://zone.ni.com/reference/en-XX/help/372636F-01/mstudiowebhelp/html/keynetnetworkvariablefeatures...

Kelsey W.
National Instruments
Applications Engineer
0 Kudos
Message 2 of 2
(5,446 Views)