Please check the Introduction to the UDL for more information about this type of UDLs.

You will distinguish the Monitor UDLs because they have these file names:

edinnM2UDL_1234567890.dll

Where the number will be the identifier of the company which executes the UDL.

User your favourite editor to modify and compile the DLL.

WARNINGS:

Please remember that any issue related with the modification of a UDL is not included in the basic support of edinn, and therefore, its revision and/or reparation could imply additional costs.

Before modifying a UDL, it is recommended to backup the source code and the DLL file (edinnM2UDL_1234567890.dll). By this, if you experience any problem, you will be able to come back to the previous version.

Follow these steps to install it, in the server (all the following steps must be done typically on this path C:\Program Files (x86)\edinn\edinnM2\Server):

  1. From the Console, stop the Monitor service.
  2. Unregister the UDL, if it was previously installed, by opening a MS-DOS console (CMD.EXE) with Administrator permissions, and then launching this command (please remember to change the name of the file to your UDL file, with you company identifier):

    regsvr32 edinnM2UDL_1234567890.dll -u

    An on screen message should appear indicating that the unregistration was successful.
  3. Paste your file edinnM2UDL_1234567890.dll, overwritting the previous.
  4. Register your new DLL with this command:

    regsvr32 edinnM2UDL_1234567890.dll

    An on screen message should appear indicating that the registration was successful.
  5. Start the Monitor service.
  6. Check in the logs of the system that the monitor connects and correctly executes your UDL.

If the UDL is not doing what you expected, introduce trace (writting in the log of the system) inside your UDL to know what is is doing and to debug it until reaching your objective.

In order to activate these UDLs, you need at least one item in your Monitor list in the Console, to be of UDL type. For example, you can create a DUMMY Generic UDL item, like this:

If you want to debug these UDLs, you can use Microsoft Visual Studio, start the edinn Monitor service and do Debug\Attach to Process from the IDE to the task edinnM2OPCDA_C.exe