|
|
Rank: Newbie Groups: Member
Joined: 7/30/2011 Posts: 3
|
Hello dears... How are you? My objective is writing the code using C# programming language for creating web service to retrieve data from PI through PI SDK. I really need a help this is the first time for me to deal with the PI SDK using C#.Net My actual problem I need to write a code to retrieve the descriptor from the PI ....
I would be grateful if you help me....
Thank you>>>>
|
|
|
|
|
OSIsoft vCampus is a subscription-based, online offering that consists of providing everything people need to develop applications on the PI System. We invite you to take a "tour" of the OSIsoft Virtual Campus - also feel free to consult the FAQ or contact OSIsoft vCampus for more details.
|
|
|
Rank: Administration
 Groups: Administration
Joined: 6/20/2008 Posts: 617 Location: Cheshire, United Kingdom.
|
Hello, Here is a very simple example: Code: PISDK.PISDK sdk = new PISDK.PISDK(); PISDK.Server srv = sdk.Servers.DefaultServer;
if (!srv.Connected) srv.Open(String.Empty);
PISDK.PIPoint pnt = srv.PIPoints["sinusoid"];
String descriptor = pnt.PointAttributes["descriptor"].Value;
Principal Consultant Real-Time Data Management @ Wipro Technologies
|
|
|
Rank: Newbie Groups: Member
Joined: 7/30/2011 Posts: 3
|
Code: PISDK.PISDK sdk = new PISDK.PISDK(); PISDK.Server srv = sdk.Servers.DefaultServer;
if (!srv.Connected) srv.Open(String.Empty);
PISDK.PIPoint pnt = srv.PIPoints["sinusoid"];
String descriptor = pnt.PointAttributes["descriptor"].Value;
[/quote] " Thank you very much that is what i want i am really greatful"
thanks
|
|
|
|
Guest
|