IS it possible to pass a data string from one processbook to another. Just like we do in Sessions,cookies in .Net. Is this is acheivable in PI PB??
Please help me in this.
I would think the same tricks would work between displays even if they are in 2 different books. ProcessBook doesn't really pay much attention to what book a display is in (with the exception of datasets and a few other things that are stored at the book level).
Also, there's a lot you can do between displays because of late binding. You can do this in C# as well if you use the 'dynamic' keyword in C# for late binding.
Dim target As Display
Set target = Application.Displays.Open("target.pdi", True)
target.SendString ("hello world")
Sub SendString(s As String)
When you run the macro 'foo' in source.pdi, it sends the string to target.pdi, which, in this case, displays it.
Yes, between displays (PDI) - but I don't think you can do it between books (PIW).
Check out this snippet: https://pisquare.osisoft.com/message/37450#comment-37450
Retrieving data ...