10-19-2009 02:16 PM
Hello,
I am new to NI and I am planning to use C# VS 2008 to create two TCP/IP apps for read/write network variables.
I will need a server app and a client app.
Is there an example/pointers that I can use to get started.
Thanks!
10-20-2009 11:23 AM
Hi learningnow,
When you install Measurement Studio, examples are installed to the following directory (in XP): C:\Documents and Settings\All Users\Documents\NationalInstruments\MStudioVS2008
For your specific application, there is a good example here: C:\Documents and Settings\All Users\Documents\National Instruments\MStudioVS2008\DotNET\Examples\NetworkVariable\Basic\cs
Open the Basic.2008.sln file and you will see projects for reading and writing as well as subscribing.
10-21-2009 12:34 PM
In addition to looking at the examples, I'd like to encourage you to review the concept help topics, in the Measurement Studio help, under NI Measurement Studio>>NI Measurement Studio .NET Class Library>>Using the Measurement Studio Class ...
These topics should give you an understanding of the architecture and help you decide which readers, writers, and other choices are appropriate for your particular application.
David Rohacek
National Instruments
10-22-2009 10:26 AM