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

Share info between displays Options · View
figuera
#1 Posted : Friday, July 08, 2011 8:28:46 AM
Rank: Newbie
Groups: Member

Joined: 7/7/2011
Posts: 2
Location: Barcelona, Spain
Is it possible share information (for example: passing arguments, global variables,...) between displays (PDI files) in VBA?

Thank you!
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.
squatty
#2 Posted : Tuesday, July 12, 2011 1:13:44 PM
Rank: Advanced Member

Groups: Member

Joined: 4/7/2011
Posts: 137
Location: KZN, South Africa
Hi figuera

Can you elaborate on your question please, certain objects you can simply copy and paste, but without some more info I can't really provide an answer.Blushing
figuera
#3 Posted : Wednesday, July 13, 2011 7:32:39 AM
Rank: Newbie
Groups: Member

Joined: 7/7/2011
Posts: 2
Location: Barcelona, Spain
I would like to know if a display (pdi file) can receive arguments. Thank you!
squatty
#4 Posted : Wednesday, July 13, 2011 7:53:24 AM
Rank: Advanced Member

Groups: Member

Joined: 4/7/2011
Posts: 137
Location: KZN, South Africa
I can't see why you will not be able to get what ever you want from one display and use it on another as long as both displays are open you should be able to activate between the displays. Once again, I can't help much with more info.
RJK Solutions
#5 Posted : Wednesday, July 13, 2011 9:45:34 PM
Rank: Administration

Groups: Administration

Joined: 6/20/2008
Posts: 617
Location: Cheshire, United Kingdom.
As far as saying something like:

Applications.Displays.Open "C:\MyDisplay.pdi /param1=123"

Well you can't do that I am afraid.
What you can do is declare some public variables in a display and assign values to those variables once you have opened/activated it.
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.