02-21-2014 03:35 PM
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?
02-24-2014 01:38 PM
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...