Commit a60031c1 authored by Leon Hiemstra's avatar Leon Hiemstra

update README

parent 2e05526f
......@@ -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`
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment