Measurement Studio for .NET Languages

cancel
Showing results for 
Search instead for 
Did you mean: 

C# - Creating TCP/IP server and clients for read/write network variables

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!

 

0 Kudos
Message 1 of 4
(6,275 Views)

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.

Eric B.
National Instruments
Message 2 of 4
(6,260 Views)

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

Message 3 of 4
(6,242 Views)
Thanks everyone for the pointers, they are very helpful.
0 Kudos
Message 4 of 4
(6,219 Views)