User Defined Functions
- Last UpdatedJul 04, 2023
- 1 minute read
It is possible to define your own functions in the application
Copy the file adminuseraddinscallback.pmlfnc from the product installation folder C:\Program Files\AVEVA\AdministrationX.X.X\PMLLIB\admin\functions into your PMLLIB folder and re-set the PMLLIB environment variable. For example, SET PMLLIB=C:\temp\mypmllib;%PMLLIB%.
Note:
32 bit: C:\Program Files(x86)\AVEVA\<product name>\mon.exe
64 bit: C:\Program Files\AVEVA\<product name>\mon.exe
When AVEVA Administration is launched, a call is made to the new Programmable Macro Language (PML) function adminuseraddinscallback.pmlfnc.

Edit the adminuseraddinscallback.pmlfnc to add your own options.