Back

Topic

[KB363]How PcVue and Alert communicate using the Alert Mediator

Tags: Alert

14 years ago
By RM
Options
Print
Applies to:

PcVue all versions.


Summary:

The Alert Mediator is a way to connect PcVue and Alert

The connection is based on DDE communication. Note that a NetDDE connection is not supported and should not be used.

In this article you will find:

  1. How to activate the Alert Mediator.
  2. How to check sent information between Alert and PcVue

Details:

1) How to activate the Alert Mediator

In PcVue:

When you create PcVue variables, tick Flag For Remote Access in the variable options.

Alert_mediator

The VAREXP.DAT file is used to import PcVue variables into Alert

In Alert:

When your Alert configuration is done (it means when you’ve declared the “On-Call Management” part) then you can import PcVue variables using the Alert Mediator.

Alert_mediator2

To activate the Alert Mediator, you have to choose in Alert the m_pcvue.dll in the following menu:

Configuration/Options – supervision tab

Alert_mediator3

Then, in the Alert explorer, right-click on Tags and choose import/m_pcvue.dll

Alert_mediator4

Select the VAREXP.DAT file from your PcVue project.

Alert_mediator5

Then, select your variables, specify the On-call-management group that will be associated to these variables, add them and close this window by selecting OK

Alert_mediator6

Then you’ll find your variables added to Alert

Alert_mediator7

2) How to check sent information between Alert and PcVue

Alert and PcVue use System variables (declared in PcVue) to exchange information.

These variables are:

  • SYSTEM.INFO.DATA_OUTPUT
  • SYSTEM.INFO.CMD

SYSTEM.INFO.DATA_OUTPUT is used to send information from PcVue to Alert.  SYSTEM.INFO.CMD is used to send information from Alert to PcVue.

Both are text variables that can be displayed in PcVue or written in a text file.

Alert is directly connected on these variables by using DDE communication.

These variables can be useful to check to see what information is being exchanged between PcVue and Alert.


Created on: 30 Dec 2010 Last update: 13 May 2024