Ok, I am very new to Ignition so please bear with me.
I am trying to utilize a .dll library provided by my supplier to access data/functions of a USB device at the HMI locations. This device performs proprietary functions over CAN that would be lengthy to try and replicate.
The .dll is written in C#, which I am hoping is not a problem.
Any help, or direction to documentation to assist would be much appreciated.
-Dustin-
Sr. Project Engineer
Electrical and Controls Engineering
If you're using Vision, you have basically two options:
- Launch the external process directly from the Vision client using
system.util.execute
- Keep the external process running constantly on the local machine, have it act as a server, and communicate with it over a local port using e.g.
system.net.httpClient()
(or some other flavor of inter-process communication).
If you're using Perspective, you have basically no options.
Ignition is written in Java and Kotlin and runs exclusively on the JVM, not the CLR. You will not be able to 'wrap' DLLs or other native code easily into Ignition.
2 Likes