12/18/2020
Hi
I have issue to connect Opc server with OPC compliance CTT tool
Example :Once we connect through OPC UA client on successful connection will list the instrument folder with inside connect method tag
once connect method executed, will connect the instrument(server) and create the data access and alarms nodes under instrument folder in address space
same scenario tried to connect with CTT tool in open browser section can see the instrument and “connect ” method
How to call the “connect ” Method and load data access and alarms in CTT tool
I have configured connect method in method section under node id(CTT tool)
I have started CTT run and test cases wrt connect method was successful but nodes are not displaying in CTT address
Is it possible to execute this kind implementations with CTT?
Moderators-Specifications
Moderators-Companion
Moderators-Implementation
Moderators-Certification
Moderators-COM
02/24/2014
I have some questions about your server – so your UA server has a very minimum address space when a client establishes a connection. This minimum address space exposes a method that the client must call to connect an underlying device which then populates the Servers address space with multiple nodes and even generates alarms – is this correct? Is the generate address space specific to that client? i.e. if a second client connects to your OPC UA Server will it see an empty address space or the address space that was populated by the first Client? What happens when the Client disconnects from the Server? does the address space reset back to the empty space? Does the server continue to run and provided data to other client as needed? A typical OPC UA Server is always running and waiting for Client to connect. They typically have an address space that exists (maybe not in loaded, but exist) and a client can browse the server and discover it (no special methods are need). If a device can be dynamically connected, then the address space for this device once connected would be available to all clients with appropriate rights. Also the address space provided by this newly connected device requires some consistency – i.e. if the device has say a temperature that it reports, everytime this specific device connects the UA nodeId for this temperature must be the same – i.e. so a client can tell – this my temperature sensor. Does your server provided this type of constancy?
The CTT by default expects an address space in the Server to already exist, so by default it would not call the method. But there are test cases that will Call Methods and one of these could be used as a template to add a script to the CTT that will run when it starts and call your Method. After which the Server should be populated. But this might not solve the problem if you server resets on any client disconnect, since many test include starting and stopping sessions.
Paul
Paul Hunkar - DSInteroperability
1 Guest(s)