Connect CTT with OPC server issue |OPC UA Standard|Forum|OPC Foundation

Avatar
Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
Lost password?
sp_Feed sp_PrintTopic sp_TopicIcon
Connect CTT with OPC server issue
Avatar
sreenatha Bhat
Member
Members
Forum Posts: 5
Member Since:
12/18/2020
sp_UserOfflineSmall Offline
1
10/26/2021 - 23:14
sp_Permalink sp_Print sp_EditHistory

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?

Avatar
Paul Hunkar
Cleveland, Ohio, USA
Moderator
Members

Moderators-Specifications

Moderators-Companion

Moderators-Implementation

Moderators-Certification

Moderators-COM
Forum Posts: 109
Member Since:
02/24/2014
sp_UserOfflineSmall Offline
2
10/28/2021 - 22:25
sp_Permalink sp_Print

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

Forum Timezone: America/Phoenix
Most Users Ever Online: 510
Currently Online: Arnaldo Simões Machado
Guest(s) 33
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Forum Stats:
Groups: 2
Forums: 10
Topics: 1354
Posts: 4591