Skip to content

Commit

Permalink
example: use namespace mapping for UA demo server
Browse files Browse the repository at this point in the history
- since UA SDK 1.8, the demo server moved the namespace
  for the DA variables from 2 to 3
  • Loading branch information
ralphlange committed Sep 17, 2024
1 parent 6abbc20 commit 03c9e07
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions exampleTop/iocBoot/iocUaDemoServer/st.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,11 @@ opcuaSubscription SUB1 OPC1 200
# Switch off security
opcuaOptions OPC1 sec-mode=None

# Set up a namespace mapping
# (the databases use ns=2, but the demo server >=v1.8 uses ns=3)

opcuaMapNamespace OPC1 2 "http://www.unifiedautomation.com/DemoServer/"

# Load the databases for the UaServerCpp demo server
# (you can set DEBUG=<n>) to set default values in all TPRO fields)

Expand Down

0 comments on commit 03c9e07

Please sign in to comment.