OPC Studio User's Guide and Reference
SubscribeItem Method (IEasyDAClientExtension)



OpcLabs.EasyOpcClassicCore Assembly > OpcLabs.EasyOpc.DataAccess Namespace > IEasyDAClientExtension Class : SubscribeItem Method
Subscribe to changes of a particular OPC item.

The ItemChanged event is generated for each significant item change.

It is more efficient to subscribe to multiple items using the SubscribeMultipleItems method.

The server(s) can be local or can be remotely accessed via DCOM.

Overload List
OverloadDescription
Subscribe to OPC item using an object that holds all necessary arguments, including an optional callback.  
Subscribe to OPC item using an object that holds all necessary arguments.  
Subscribe to OPC item using an object that holds all necessary arguments, and an optional callback.  
Subscribe to OPC item. Specify server and item descriptors, group parameters object, callback method, and a user-defined state object.  
Subscribe to OPC item. Specify server and item descriptors, and group parameters object.  
Subscribe to OPC item. Specify machine name, server class, item ID, data type, requested update rate, percent deadband, callback method, and a user-defined state object.  
Subscribe to OPC item. Specify machine name, server class, item ID, data type, requested update rate, and percent deadband.  
Subscribe to OPC item. Specify machine name, server class, item ID, data type, requested update rate, callback method, and a user-supplied state object.  
Subscribe to OPC item. Specify machine name, server class, item ID, data type, and requested update rate.  
Subscribe to OPC item. Specify machine name, server class, item ID, requested update rate, callback method, and a state object.  
Subscribe to OPC item. Specify machine name, server class, item ID, requested update rate, and a callback method.  
Subscribe to OPC item. Specify machine name, server class, item ID, requested update rate, and a state object.  
Subscribe to OPC item. Specify machine name, server class, item ID, and requested update rate. No state object is specified (this overload is suitable for simple scenarios only).  
Requirements

Target Platforms: .NET Framework: Windows 10 (selected versions), Windows 11 (selected versions), Windows Server 2016, Windows Server 2022; .NET: Linux, macOS, Microsoft Windows

See Also