Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AVEVA™ InTouch HMI

Use the ShowGraphic() function with frame windows

  • Last UpdatedJun 18, 2024
  • 1 minute read

You can run the ShowGraphic() script function to change the symbol associated with a frame window at run time. Specify the frame window name and associated symbol as in the following example:

Dim graphicInfo as aaGraphic.GraphicInfo;

graphicInfo.Identity = "InTouch:FrameWindow01";

graphicInfo.GraphicName = "Symbol_002";

ShowGraphic( graphicInfo );

"Symbol_002" will display in "FrameWindow01" at run time regardless of the frame window’s design time configuration. You can use a ShowGraphic script to host different symbols in the same window.

Limitation:

Graphic caching occurs only for the symbol currently shown in the frame window at the time the window is closed and cached. Replaced symbols will not be cached.