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

AVEVA™ InTouch HMI

Graphiques Multiples - Scénario 1

  • Last UpdatedApr 24, 2026
  • 1 minute read

Vous devez ouvrir de nombreux graphiques à l’aide du même élément d’interface, tel qu’un bouton tactile.

Vous pouvez utiliser le script suivant pour y arriver<:hs>:

Dim graphicInfo comme aaGraphic.GraphicInfo;

graphicInfo.Identity = "i1";

graphicInfo.GraphicName = "AnalogHiLo";

graphicInfo.HasTitleBar = true;

graphicInfo.WindowTitle = "Compteur analogique 1";

graphicInfo.Resizable = true;

graphicInfo.WindowLocation = aaGraphic.WindowLocation.Leftside;

graphicInfo.WindowType = aaGraphic.WindowType.Modeless;

ShowGraphic( graphicInfo );

graphicInfo.Identity = "i2";

graphicInfo.GraphicName = "AnalogHiLo";

graphicInfo.HasTitleBar = true;

graphicInfo.WindowTitle = "Compteur analogique 2";

graphicInfo.Resizable = true;

graphicInfo.WindowLocation = aaGraphic.WindowLocation.Center;

graphicInfo.WindowType = aaGraphic.WindowType.Modeless;

ShowGraphic( graphicInfo );

graphicInfo.Identity = "i3";

graphicInfo.GraphicName = "AnalogHiLo";

graphicInfo.HasTitleBar = true;

graphicInfo.WindowTitle = "Compteur analogique 3";

graphicInfo.Resizable = true;

graphicInfo.WindowLocation = aaGraphic.WindowLocation.Rightside;

graphicInfo.WindowType = aaGraphic.WindowType.Modal;

ShowGraphic( graphicInfo );

Pour ouvrir de multiples fenêtres indépendantes, seule la dernière fenêtre doit être modale. Toutes les autres fenêtres indépendantes peuvent être non modales. Si une autre fenêtre indépendante est aussi modale, alors le script restera bloqué après ouverture de la première fenêtre modale indépendante. Pour plus d'informations, voir Fenêtres modales et la fonction ShowGraphic().

À l’exécution, cliquez sur le bouton tactile ShowGraphicMultipleSymbols pour ouvrir tous les graphiques :

Setting up a multi-graphic process at runtime