Finding Screen Position in Wonderware

abishur

Member
Join Date
May 2012
Location
Texas
Posts
47
I'm using Archestra to create objects and display them on wonderware. Is there a way to display the position of the object on the screen?

The end goal here is I'm working in a multiple monitor environment and instead of intouch screens I'm using archestra symbols. When they open a new screen I tell it to open a symbol and do navigation tracking. It works great with on exception. I want to show a description of the page they've loaded on the screen (I.E. "Site 1")

I can add an attribute to the symbol to hold the screen name I want to display, but I need to make sure it pops up on the correct screen. The best way I can think of to do that would be to have a script on each "Screen" that runs "on show" that takes its current position and based on that writes to a tag, but I can't figure out how a symbol can identify its location on the screen.
 
There is also a "ShowAt" script that opens the window at a certain x/y position.
Name the window "Site 1" and in Window properties select "Show Title Bar", then the name of the window is in the Title bar. Another nice advantage to this.... is that with the Title bar shown, the user can move it around.....but when opened again it will be at original location.
 
Last edited:
There is also a "ShowAt" script that opens the window at a certain x/y position.
Name the window "Site 1" and in Window properties select "Show Title Bar", then the name of the window is in the Title bar. Another nice advantage to this.... is that with the Title bar shown, the user can move it around.....but when opened again it will be at original location.


That's true for classic InTouch popup windows. I'm not so sure about displaying a symbol, rather than a popup window. It seems to me that in order to do that, one would need to create a "fat window" that expands across the entire extended desktop in which to display the symbol.
 
Thanks for the suggestions, I'm already using the "show at" script, but don't want it to be movable for my overview pages. In the end I discovered the following details:

1) All attributes of a user defined object in Archestra are global variables. If you change it on one workstation it changes on all workstations.

2) All custom properties done to a local graphic in a user defined object are local variables. Changing it on one workstation does not affect another workstation

2a) Custom properties cannot be directly access from another screen, even if you mark the customer property as "public"

3) All tags created in InTouch are local variables, changing them on one workstation does not affect another workstation

3a) Archestra and InTouch can write to each others attributes

3b) But the they cannot directly display each others windows/graphics.

So I made 4 tags in InTouch (since they'll be unique for each workstation), and have my navigation script handle which tag is being written to based on which screen is being updated. Then each navigation link writes two tag names. One is a string with the name to display ("Site 1"), and the other is a string with the screen name to display.
 

Similar Topics

Hi all, I'm in the process of upgrading a PanelView1200 HMI program to be developed in FactroyTalk View Studio. The filetype for PanelView 1200...
Replies
7
Views
283
Hey all, pretty new to PLC and got a question regarding finding the MSB or the last non-zero bit in a SINT array in studio5000... I am reading...
Replies
2
Views
833
Having an issue connecting to my Micro820 PLC. I don't have an IP Explorer and I know its MAC Address is 5C:88:16:D8:E6:65. I'm connected to the...
Replies
5
Views
921
I have reached a dead end trying to find an EDS file. Manufacturer says to contact third party tech support. Clueless. RSLINX can see it, just...
Replies
9
Views
1,794
Hello, I have an array of 300 of UDT. In each UDT is an array of 3 DINT and another array of 3 REAL. I have 10 controllers that pull data from...
Replies
7
Views
1,162
Back
Top Bottom