I was finally able to build the examples, but when I try and make some minute changes, for example changing the name of a variable in Server Getting Started lesson 2, the changes are not reflected in UaExpert. I get this output at my console as soon as I connect to the server.
trace_load_config succeeded:
directory: .
basename : log
extension: .txt
max_files: 5
max_lines: 1000000
Using file trace backend. All further traces will go into files.
Trace levels ERROR, WARNING and NOTICE will additionally be printed to stderr.
Opened new trace file './log.1.txt'.
Created trace file on Thu Jul 13 10:47:55 2023
embeddedstack 1.7.1 BETA (Build 383) - Customer Build Git SHA1: e1c8c90ebc278ea84d0e6bbc18e2e50135dcd993
Evaluation version: Running in demo mode (60 minutes).
uaapplication_load_cert_from_store: loaded cert store://server4k successfully from store 0
uaapplication_load_cert_from_store: loaded cert store://server2k successfully from store 0
Registering dynamic address space: http://opcfoundation.org/UA/
Registering dynamic address space: urn:UnifiedAutomation:UASDKHP:ETERM479
Registering dynamic address space: http://www.unifiedautomation.com/CustomServer/
Server is up and running.
Listening on opc.tcp://ETERM479.(Company name):4840
uasession_dispatch_message: invalid session_id 1724907520 received
uasession_dispatch_message: start creating servicefault for type_id 467 on channel 1942028288 with error 0x80250000
<-- service TransferSubscriptionsRequest failed with error -1
uasession_decode_service_complete: sending service fault
<-- service RepublishRequest failed with error -1
uasession_decode_service_complete: sending service fault
UaExpert shows no error.
Difficulty Modifying Examples
Moderator: uasdkhpc
-
- Hero Member
- Posts: 22
- Joined: 15 May 2023, 09:50
Re: Difficulty Modifying Examples
Okay, I just realized that I have to the build the Install project on CMakePredefinedTargets to see the changes, and this message
Server is up and running.
Listening on opc.tcp://ETERM479.(Company name):4840
uasession_dispatch_message: invalid session_id 1724907520 received
uasession_dispatch_message: start creating servicefault for type_id 467 on channel 1942028288 with error 0x80250000
<-- service TransferSubscriptionsRequest failed with error -1
uasession_decode_service_complete: sending service fault
<-- service RepublishRequest failed with error -1
uasession_decode_service_complete: sending service fault
happens if I still maintain the "old connection" with UaExpert and restart the server. To avoid this, simply delete the connection with UaExpert before restarting the server. Hope this helps someone.
Server is up and running.
Listening on opc.tcp://ETERM479.(Company name):4840
uasession_dispatch_message: invalid session_id 1724907520 received
uasession_dispatch_message: start creating servicefault for type_id 467 on channel 1942028288 with error 0x80250000
<-- service TransferSubscriptionsRequest failed with error -1
uasession_decode_service_complete: sending service fault
<-- service RepublishRequest failed with error -1
uasession_decode_service_complete: sending service fault
happens if I still maintain the "old connection" with UaExpert and restart the server. To avoid this, simply delete the connection with UaExpert before restarting the server. Hope this helps someone.