*Configure Alarm ActiveX

The OPC Alarm ActiveX control can be integrated directly into any ActiveX container, most commonly HMI graphic applications or Visual Studio 6.0.

Note: ActiveX controls are not 100% managed and you should use the .NET controls for Visual Studio.NET applications and in more update to date containers that support .NET controls.

Below is an example of using the OPC Alarm ActiveX Control integrated into Visual Basic 6.0 or other ActiveX container of your choice.

Step

Task

1

Start Visual Basic 6.0 with a new or existing Project or other ActiveX container application of your choice.

If using other ActiveX container than Visual Studio simply select the appropriate method of the application to add an ActiveX control and select OPCAlarmActiveX.OPCAlarm and skip to Step 6.

2

To add the OPC Alarm.ActiveX Control to your Visual Studio 6.0 development system select View-Toolbox from within Visual Studio.

3

Right-Click on the Toolbox and select Components.

4

Select OPC Alarm ActiveX Control from the list of Controls

5

*From the ToolBox select the OPC Alarm ActiveX Control icon and add the alarm window to any Form.

6

Resize the Alarm Window to any size your desire.

Please note that some of the Runtime Properties will not be available for modifying during runtime if the Alarm Window is too small.

7

Select Properties of Alarm Window and set any desired Property.

By default the localhost node is selected and Filters include all alarms except alarms that have been acknowledged and no longer active, OPC communication failures, and Tag Client communications to other OPC Systems Services.  You can adjust the Filter as you desire for Priority, Alarm Groups, and Alarm Types.

*Note: if you desire to setup the Alarm Window to work on remote application select the Network Nodes to select the appropriate network names of the local or remote OPC Systems Services.

8

Select OK at the bottom of the Property Page.

9

Save your application and compile if needed and you are now ready to run the application.

Continue: Configure Data Logging