OpcUaFileServer is an OPC UA application based on ASNeG OPC UA Stack.
- ANSeG OPC UA Stack >= 4.0.0
- CMake
- C++ compiler with C++11 support
Before install OpcUaFileServer you must install ASNeG OPC UA Stack. See this tutorial for more information. Then type the following command:
On Linux
$ sh build.sh -t local -i ~/.ASNeG
On Windows
$ build.bat -t local -i C:\\ASNeG
Having installed OpcUaFileServer locally, you can run it by using the following command:
On Linux
$ export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:${HOME}/.ASNeG/usr/lib $ OpcUaServer4 ~/.ASNeG/etc/OpcUaStack/OpcUaFileServer/OpcUaServer.xml
On Windows
$ set PATH=%PATH%;C:\ASNeG\lib $ OpcUaServer4 CONSOLE C:\ASNeG\etc\OpcUaStack\OpcUaFileServer\OpcUaServer.xml
Also you can use Docker without installing any dependencies:
$ docker build -t OpcUaFileServer:latest . $ docker run -d -p 4840:4840 OpcUaFileServer:latest
OpcUaFileServer uses Sphinx to generate its documentation and it is ready for hosting on RTD. You can build the documentation locally. For that you should install Sphinx on your machine with Pyhton and Doxygen .Then run the following command from the root directory of the project:
$ cd docs $ pip install -r requirements.txt $ make html
The generated HTML files you can find in build/html directory.
- ASNeG OPC UA Stack
- Hello World Example with ASNeG OPC UA Stack
- Sphinx Documentation Generator