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: Newbie
Groups: Member

Joined: 1/15/2010
Posts: 5
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  
 
RJK Solutions
#2 Posted : Friday, July 09, 2010 4:48:39 PM
Rank: Administration

Groups: Administration

Joined: 6/20/2008
Posts: 458
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.


OSIsoft PI System Specialists
PI consultancy on PI Systems, PISDK, AFSDK, OLEDB etc and PI custom developments. Well pretty much anything to do with PI!


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.