Company Events Academic Community Support Solutions Products & Services Contact NI MyNI

Unregister Server VI

LabVIEW 2013 Datalogging and Supervisory Control Module Help

Edition Date: June 2013

Part Number: 371618J-01

»View Product Info
Download Help (Windows Only)

Owning Palette: OPC UA Server VIs

Requires: DSC Module or Real-Time Module

Unregisters the registered OPC UA server with the UA Local Discovery Server (LDS).

After you unregister the OPC UA server, the OPC UA client cannot find the unregistered OPC UA server in the LDS.

Details  Example

OPC UA server refnum in specifies the reference data value of the OPC UA server.
error in describes error conditions that occur before this node runs. This input provides standard error in functionality.
OPC UA server refnum out returns the reference data value of the OPC UA server.
error out contains error information. This output provides standard error out functionality.

Unregister Server Details

You can use the Unregister Server VI to unregister a closed OPC UA server. If you use the Close VI to close and destroy a registered OPC UA server, the Close VI does not unregister the OPC UA server. Complete the following steps to unregister a closed OPC UA server:

  1. Use the Create VI to create an OPC UA server. You must ensure that the OPC UA server that you create and the closed OPC UA server reside on the same computer.
  2. Specify a TCP port for the TCP port of the Create VI. You must ensure that the TCP port that you specify is the same as the TCP port that the closed OPC UA server used.
  3. Use the Register Server VI to register the OPC UA server.
  4. Use the Unregister Server VI to unregister the OPC UA server.

Example

Refer to the OPC UA Demo.lvproj in the labview\examples\comm\OPCUA directory for an example of using the Unregister Server VI.


 

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
Add Comments 1 2 3 4 5 submit