DlmsProtocolReadValue Method

Reads Value attribute of a given DLMS/COSEM object of class DlmsData or some of its descendat. DLMS association must be created before this method is called. Association can be created by CreateAssocitation method.

Definition

Namespace: OddPrg.Protocols.DLMS
Assembly: OddPrg.Protocols.Dlms (in OddPrg.Protocols.Dlms.dll) Version: 2.0.0.13 (2.0.0.13)
C#
public void ReadValue(
	DlmsData obj,
	DlmsDataParsed nextDataParsed,
	CancellationToken cancellationToken,
	bool ignoreDataResultError = false
)

Parameters

obj  DlmsData
nextDataParsed  DlmsDataParsed
Callback method used to return next value while receiving block data.
cancellationToken  CancellationToken
ignoreDataResultError  Boolean  (Optional)
If true, exception is not thrown when meter does not return success for some attribute but continues reading next attribute.

See Also