*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.




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.


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


Right-Click on the Toolbox and select Components.


Select OPC Alarm ActiveX Control from the list of Controls


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


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.


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.


Select OK at the bottom of the Property Page.


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

Continue: Configure Data Logging