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

Apps, Widgets, and Controls

Switch between client modes

  • Last UpdatedSep 20, 2024
  • 2 minute read

You can switch between client modes at run time by changing the Alarm Control ClientMode property. The easiest way to do this, is to configure an application server script to interact with the Alarm Control ClientMode property at design time.

To switch between client modes

  1. Place the Alarm Control on the Industrial graphic.

  2. Paste a button on the canvas and change its caption to Current Alarms.

  3. Double-click the button and configure it with the following action script:

    AlarmControlGrid1.ClientMode = 1;

  4. Click OK.

  5. Repeat steps 2 to 4 for the following buttons:

    Button Caption

    Action script

    Recent Alarms and Events

    AlarmControlGrid1.ClientMode = 2;

    Historical Alarms

    AlarmControlGrid1.ClientMode = 3;

    Historical Events

    AlarmControlGrid1.ClientMode = 4;

    Historical Alarms and Events

    AlarmControlGrid1.ClientMode = 5;

6. Save and close the Industrial graphic.

7. Create a new managed InTouch application and open it in WindowMaker.

8. Place the Industrial graphic on a new InTouch window.

9. Switch to WindowViewer to test your application.

10. Click Historical Alarms to show historical alarms instead of current alarms.

By default, the Alarm Control tries to connect to the alarm database (either the InTouch Database called WWALMDB or the ArchestrA Database called A2ALMDB) on the local computer using the currently logged on user. If you are using a different configuration, you can use value input links or action script to set the following properties:

  • Database.ServerName Property

  • Database.UserID Property

  • Database.Password Property

  • Domain Property

  • Database.Name Property

  • Database.Authentication Property

TitleResults for “How to create a CRG?”Also Available in