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

VBA to change title, reference tag and PI calculation data in a trend Options · View
stvpsw
#1 Posted : Wednesday, July 28, 2010 1:18:58 AM
Rank: Member
Groups: Member

Joined: 5/11/2010
Posts: 10
Location: Malaysia
Hi,

Are there any guidelines with reference to the above? I've 2 modes of operations for different products specs, which therefore have different sets of limits and tags for monitoring. I would like to create a macro where operations could just click the button upon mode change and all the exisiting monitoring trends (plot title, tags and limits) will switch to the current mode of operations.

Thanks.

Best Regards,
SW
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.
milesUK
#2 Posted : Tuesday, March 29, 2011 9:17:12 AM
Rank: Advanced Member
Groups: Member

Joined: 5/28/2009
Posts: 75
Location: Cheshire, UK
SW, just looking for posts with no replies and spotted this one. Did you get sorted?

I have used Rhys framework series as a basis for my code to standardise the size, format and colours of my trends (very handy once I got it working!) and it may suit your task.

An alternative would be to build two seperate workbooks and toggle between the two.

All the best,

miles
MilesUK
ProcessBook v3.0.15.3
squatty
#3 Posted : Wednesday, June 22, 2011 3:19:48 PM
Rank: Advanced Member

Groups: Member

Joined: 4/7/2011
Posts: 137
Location: KZN, South Africa
Its been some time since someone posted on this subject. I will create 2 sets of arrays each with their own set of tags,titles....., and assign the trends to the arrays based on the mode selection.
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.