The item is added to the group if it is not yet added. A synchronous OpcGroup read function is executed.
Visual Basic (Declaration) | |
---|---|
Public Overloads Overridable Function Read( _ ByVal src As OPCDATASOURCE, _ ByVal name As String, _ ByRef val As OPCItemState _ ) As Integer |
C# | |
---|---|
public virtual int Read( OPCDATASOURCE src, string name, out OPCItemState val ) |
Parameters
- src
- IN: Cache ore Device
- name
- IN: Full OPC item name
- val
- OUT: Read item value with quality and timestamp