External Reference (DLL) Usage

External Reference (DLL) Usage

You can extend the functionality of your scripts by adding external libraries (DLLs).

Built-in References
Some basic DLLs are installed in the system by default. To use these DLLs, simply write using (for C#) or Import (for VB) at the beginning of your code.

Manual References
Follow the steps below for external DLLs not included in the system:

  1. Open the Editor\ReferencedAssemblies.txt file located next to SCADA.exe.
  2. Manually add the names of the DLLs you want to use to this file (Example: MySql.Data.dll).
  3. Copy the added DLL files to the same directory (Editor\).

Important Note: These manually added files must also be copied to the client computer where your project will run, in the exact same way (into the Editor\ folder next to SCADA.exe).

Leave a Reply