View Issue Details

IDProjectCategoryView StatusLast Update
0009339CTT UA Binary3 - Feature Requestpublic2024-01-25 15:01
ReporterYannik Klaass Assigned ToYannik Klaass  
PrioritynormalSeverityminorReproducibilityhave not tried
Status closedResolutionfixed 
Fixed in Version1.11.0.410 
Summary0009339: Adding global embedded OpcServer and generic method functionality to the CTT
Description

The CTT binary needs a functionality to create/expose script-side implementable/accessible methods in the AddressSpace of an embedded Opc server for clients to call.

As the only way to start an opc server in the CTT at the moment is to create/start a PubSubManager object, which creates one internally, it would make sense to restructure the CTT to have a seperate global OpcServer object, providing the needed functionalities of the PubSubManager along with the new generic method functionalities. The corresponding class should be implemented.

TagsNo tags attached.
Files Affected

/src/main_window/qopcmainwindow.cpp
/src/scriptengine/PubSubModuleTypes/CMakeLists.txt
/src/scriptengine/PubSubModuleTypes/uabintracker.cpp
/src/scriptengine/PubSubModuleTypes/uabintracker.h
/src/scriptengine/PubSubModuleTypes/uamydatasetreadercallback.cpp
/src/scriptengine/PubSubModuleTypes/uamydatasetreadercallback.h
/src/scriptengine/PubSubModuleTypes/uamydatasetwritercallback.cpp
/src/scriptengine/PubSubModuleTypes/uamydatasetwritercallback.h
/src/scriptengine/PubSubModuleTypes/uamynetworkmessagewritercontext.h
/src/scriptengine/PubSubModuleTypes/uamyopcserver.cpp
/src/scriptengine/PubSubModuleTypes/uamyopcserver.h
/src/scriptengine/PubSubModuleTypes/uamypubsubcallback.cpp
/src/scriptengine/PubSubModuleTypes/uamypubsubcallback.h
/src/scriptengine/PubSubModuleTypes/uamypubsubnetworkbackenduser.cpp
/src/scriptengine/PubSubModuleTypes/uamypubsubnetworkbackenduser.h
/src/scriptengine/PubSubModuleTypes/uamyreceiveconnectioncontext.h
/src/scriptengine/PubSubModuleTypes/uamyservercallback.cpp
/src/scriptengine/PubSubModuleTypes/uamyservercallback.h
/src/scriptengine/PubSubModuleTypes/uamyuserbackendcontextbase.h
/src/scriptengine/PubSubModuleTypes/uanodemanagercttserverbase.cpp
/src/scriptengine/PubSubModuleTypes/uanodemanagercttserverbase.h
/src/scriptengine/PubSubModuleTypes/uaopcserverclass.cpp
/src/scriptengine/PubSubModuleTypes/uaopcserverclass.h
/src/scriptengine/PubSubModuleTypes/uapubsubdatasetreadermessageclass.cpp
/src/scriptengine/PubSubModuleTypes/uapubsubmanagerclass.cpp
/src/scriptengine/PubSubModuleTypes/uapubsubmanagerclass.h
/src/scriptengine/wordlist.txt

Activities

Yannik Klaass

2024-01-18 13:41

developer   ~0020658

Adding global embedded OpcServer and generic method functionality to the CTT

  • Splitting up content of uapubsubmanagerclass.cpp/h into seperate files

  • Implementing custom NodeManager class CttNodeManagerCttServerBase

  • Implementing new CttOpcServerClass containing:

    • All needed PubSub functionalities that were packed in uapubsubmanagerclass before
    • Functionalities to interact with the new custom NodeManager, implementing the ability to create/hook custom script-side implemented methods
    • Adding 'UaOpcServer' class and enums 'GenericMethodMode' and 'GenericMethodStatus' to wordlist

Paul Hunkar

2024-01-18 17:20

administrator   ~0020661

reviewed in call, agreed to changes and closed issue

Issue History

Date Modified Username Field Change
2024-01-08 15:45 Yannik Klaass New Issue
2024-01-08 15:45 Yannik Klaass Status new => assigned
2024-01-08 15:45 Yannik Klaass Assigned To => Yannik Klaass
2024-01-18 13:37 Yannik Klaass Files Affected => /src/main_window/qopcmainwindow.cpp
/src/scriptengine/PubSubModuleTypes/CMakeLists.txt
/src/scriptengine/PubSubModuleTypes/uabintracker.cpp
/src/scriptengine/PubSubModuleTypes/uabintracker.h
/src/scriptengine/PubSubModuleTypes/uamydatasetreadercall...
2024-01-18 13:41 Yannik Klaass Status assigned => resolved
2024-01-18 13:41 Yannik Klaass Resolution open => fixed
2024-01-18 13:41 Yannik Klaass Note Added: 0020658
2024-01-18 17:15 Paul Hunkar Project Compliance Test Tool (CTT) Unified Architecture => CTT UA Binary
2024-01-18 17:20 Paul Hunkar Status resolved => closed
2024-01-18 17:20 Paul Hunkar Fixed in Version => 1.11.0.409
2024-01-18 17:20 Paul Hunkar Note Added: 0020661
2024-01-25 15:01 Paul Hunkar Fixed in Version 1.11.0.409 => 1.11.0.410