OPC Labs EasyOPC “Classic” Components Library
SubscribeItem Method
OpcLabs_EasyOpcClassicComponents ActiveX DLL > EasyDAClient Object : SubscribeItem Method

Description
Subscribe to OPC item. Specify machine name, server class, item ID, and requested update rate. No state object is specified (suitable for simple scenarios only).

 

DISPID (Dispatch ID):

 

For more information, see SubscribeItem in .NET Reference.

Syntax
Visual Basic
Public Function SubscribeItem( _
   ByVal machineName As String, _
   ByVal serverClass As String, _
   ByVal itemId As String, _
   ByVal requestedUpdateRate As Long _
) As Long
Parameters
machineName

serverClass

itemId

requestedUpdateRate

Return Type

See SubscribeItem in .NET Reference.

Remarks

For remarks, see SubscribeItem in .NET Reference.

Example

For examples, see SubscribeItem in .NET Reference.

See Also

EasyDAClient Object  | EasyDAClient Members