YetAnotherForum
Welcome Guest Search | Active Topics | Log In | Register

Getting tag description Options · View
blitzclipse
#1 Posted : Friday, July 09, 2010 4:32:35 PM
Rank: Member
Groups: Member

Joined: 1/15/2010
Posts: 13
Location: us
I want to get a tag description given the tag name and print it to a txt box on the process book display. Any help would be greatly appreciated.
Sponsor  
 

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.
RJK Solutions
#2 Posted : Friday, July 09, 2010 4:48:39 PM
Rank: Administration

Groups: Administration

Joined: 6/20/2008
Posts: 612
Location: Cheshire, United Kingdom.
Hello,

Something like the following should work for you...

Code:

Dim PITag As PISDK.PIPoint
Set PITag = PIServer.PIPoints("SINUSOID")

myTextBox.Text = PITag.PointAttributes("descriptor").Value


Cheers.
Principal Consultant
Real-Time Data Management @ Wipro Technologies
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.