Can I Use OPC UA Method in OPC UA Toolkit?

Updated Dec 17, 2019

Reported In

Software

  • LabVIEW OPC UA Toolkit
  • LabVIEW

Issue Details

I have a Client-Server connection and from the Client point of view I would like to use the "Call Method" that I can find in different OPC UA clients. Is this possible in LabVIEW with the OPC UA Toolkit?

Solution

OPC UA Methods are functions that you can find in different clients (such as OPC Free UA Expert) and are useful since they allows the client to write to,read or browse variables (a tag) in a connected server easily.
 
The NI OPC UA Toolkit does not currently have the capabilities to implement these methods. In order to achieve a similar functionality is (from the Server) set the Variables as Read/Write in order to allow the client to access the value of that variable and create your own method using the OPC UA Toolkit API's.
An example of this can be found in Related Links.