LabVIEW OPC UA Toolkit API Reference

Content Type
Programming Language
Current manual

Create Event Subscription VI

Create Event Subscription VI

Owning Palette: Alarms and Conditions VIs

Requires: OPC UA Toolkit

Creates a subscription to the notifiers of an OPC UA server.

A notifier is an object that you can subscribe to get events from the associated condition nodes.

Example

OPC UA client refnum in specifies the reference for the OPC UA client.
publishing interval defines the rate, in milliseconds, that the OPC UA server returns event notifications to the OPC UA client. The default is 1000. publishing interval must be greater than 0.
error in describes error conditions that occur before this node runs. This input provides standard error in functionality.
timeout specifies the maximum time, in milliseconds, that this VI waits to get a response from the OPC UA server. The default is 5000.
OPC UA client refnum out returns the reference for the OPC UA client.
subscription ID out returns the reference of the subscription that this VI accessed.
OPC UA condition event returns notifications to the OPC UA client if the client has created an event subscription. The notifications contain updates of the events on the OPC UA server. The publishing interval of Create Event Subscription VI defines the frequency of sending notifications.
error out contains error information. This output provides standard error out functionality.
service status returns the status of an OPC UA service call. OPC UA services contain parameters that are conveyed between an OPC UA client and an OPC UA server.

Example

Refer to the OPC UA Demo.lvproj in the labview\examples\Data Communication\OPCUA directory for an example of using the Create Event Subscription VI.

In This Section
Was this information helpful?