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

AVEVA™ InTouch HMI

Connect the Alarm DB View to the alarm database

  • Last UpdatedApr 09, 2025
  • 2 minute read

You must configure the connection between the Alarm DB View control and the alarm database.

Use an account with appropriate read-only access to the alarm database and not a system administrator account.

Configure the connection to the alarm database

  1. Right-click the Alarm DB View control and then select Properties. The AlmDbViewCtrl Properties dialog box appears.

  2. Select the Database tab.

    AlmDbViewCtrl Properties dialog

  3. Configure the connection to the alarm database. Do the following:

    1. In the Authentication list, select the authentication method: SQL Server Authentication or Windows Authentication (default).

      Note: Windows authentication can provide better application security than SQL Authentication. If you switch from Windows Authentication to SQL Authentication, a dialog will appear recommending that you use Windows Authentication for this reason. If you choose to ignore this warning and proceed with SQL Authentication, select OK. A similar message will be logged in the SMC Log Viewer.

    2. In the Server Name box, enter the node name of the computer where the alarm database is installed.

    3. In the Database Name box, type the database name.

    4. In the Credentials box, select the credentials for authentication.

    Note:
    - The Credentials drop-down is enabled only when the SQL Server Authentication type is selected. The Windows Authentication method uses the credentials of the user currently logged in, and disables the user name and password fields.
    - For standalone InTouch applications, the credentials are retrieved from the Application Manager. For managed InTouch applications, the credentials are retrieved from the Credential Manager of the Application Server. For more information, see Work with Credentials Manager in AVEVA™ InTouch HMI Application Development.

  4. Select the Auto Connect checkbox to have the Alarm DB View control automatically connect to the alarm database when the InTouch application starts running.

    If you do not select the Auto Connect checkbox, you must configure the Alarm DB View control to connect to the alarm database by explicitly calling the Connect() method. For more information about the Connect method, see Connect().

  5. Select Test Connection to verify connectivity to the alarm database. A message indicates a successful connection.

  6. Select Apply.

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