diff --git a/README.md b/README.md index a5c9c48907c5c3a4c78300a071d3f72fad5ca5a7..a4b3d63bb3227b7632e362df900dd86c53b96dca 100644 --- a/README.md +++ b/README.md @@ -55,14 +55,44 @@ command history # OPC ua ## Python C library install +(note: already installed on dop36) git clone https://github.com/open62541/open62541 follow install instructions from https://open62541.org/doc/current/installing.html ## Python Client Install - +(note: already installed on dop36) +``` sudo apt install python-opcua sudo apt install python-opcua-tools cd opcua/ git clone https://github.com/FreeOpcUa/python-opcua.git +``` + +## Test the OPCua client with the proviced C client + +Compile the OPCua client: +`cd test/c/ua_client` +then execute the command shown in the README file in that directory + +1. Start the sdpunb server on dop36: +``` +cd src +./sdpunb --configfile=uniboard2.conf --nodaemon +``` + +2. Run the client: +``` +cd test/c/ua_client +./client +``` + +The (test) client reads out all available Uniboard registers. + +## Test the OPCua client with the opcua-client (GUI) on test-lcu2.astron.nl + +`ssh -J hiemstra@portal.astron.nl -L localhost:55555:test-lcu2.astron.nl:55555 hiemstra@test-lcu2.astron.nl` +run OPCua GUI client: +`opcua-client` +then open an OPCua connection to: `opc.tcp://dop36:4840`