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

OPC UA Server VIs

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 VIs

Requires: DSC Module or Real-Time Module. This topic might not match its corresponding palette in LabVIEW depending on your operating system, licensed product(s), and target.

Use the OPC UA Server VIs to create a customized OPC UA server application.

Example

Palette ObjectDescription
Add FolderCreates a folder under the parent folder in the address space.
Add ItemAdds an item as a child to the folder you specify.
Add PropertyAdds a property to an item.
Add Trusted ClientsAdds trusted OPC UA client certificates to an OPC UA server.
Clear All Trusted ClientsClears the OPC UA client certificates that the OPC UA server trusts.
CloseCloses and destroys the OPC UA server. After you close the OPC UA server, you lose all the folders, items, and properties that belong to the OPC UA server.
CreateCreates and initializes an OPC UA server. You also can use this VI to configure the server name, supported security policies, and server certificate files.
Delete NodeDeletes a node, such as a folder or item. If you delete a folder, you delete all the child nodes including folders and items.
ReadReads the value, timestamp, and status of a node. You must manually select the polymorphic instance to use.
Register ServerRegisters the OPC UA server with the UA Local Discovery Server (LDS). After you enable the registration process, the OPC UA server routinely registers based on the register rate.
StartStarts the OPC UA server. After you start the OPC UA server, you cannot add or delete folders and items until the OPC UA server stops. Use the Stop VI to stop the OPC UA server.
StopStops the OPC UA server and disconnects all connections between the OPC UA server and OPC UA client(s). When you stop the OPC UA server, you still keep all the folders, items, and properties. Use the Start VI to restart the OPC UA server.
Unregister ServerUnregisters the registered OPC UA server with the UA Local Discovery Server (LDS).
WriteWrites the value and status of a node from the OPC UA server. You must manually select the polymorphic instance to use.

Example

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


 

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