Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
S
sdptr
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
LOFAR2.0
sdptr
Commits
a60031c1
Commit
a60031c1
authored
May 13, 2020
by
Kenneth Hiemstra
Browse files
Options
Downloads
Patches
Plain Diff
update README
parent
2e05526f
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
README.md
+31
-1
31 additions, 1 deletion
README.md
with
31 additions
and
1 deletion
README.md
+
31
−
1
View file @
a60031c1
...
@@ -55,14 +55,44 @@ command history
...
@@ -55,14 +55,44 @@ command history
# OPC ua
# OPC ua
## Python C library install
## Python C library install
(note: already installed on dop36)
git clone https://github.com/open62541/open62541
git clone https://github.com/open62541/open62541
follow install instructions from https://open62541.org/doc/current/installing.html
follow install instructions from https://open62541.org/doc/current/installing.html
## Python Client Install
## Python Client Install
(note: already installed on dop36)
```
sudo apt install python-opcua
sudo apt install python-opcua
sudo apt install python-opcua-tools
sudo apt install python-opcua-tools
cd opcua/
cd opcua/
git clone https://github.com/FreeOpcUa/python-opcua.git
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`
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment