BaseStation.ItemDescriber Namespace
CAS.DataPorter.Configurator Namespace
CAS.Lib.CommonBus Namespace
CAS.Lib.CommonBus.ApplicationLayer Namespace
CAS.Lib.CommonBus.CommunicationLayer Namespace
CAS.Lib.DeviceSimulator Namespace
CAS.NetworkConfigLib Namespace
Object-Oriented Internet Process-Observer

IApplicationLayerSniffer..::..ReadData Method

Interface of the passive reader station, i.e. responsible for reading master station commands and slave station responses and gathering the data from coupled pairs.

Namespace:  CAS.Lib.CommonBus.ApplicationLayer
Assembly:  CommServer.CommonBus (in CommServer.CommonBus.dll)

Syntax


AL_ReadData_Result ReadData(
	out IBlockDescription pBlock,
	out IReadValue pData
)
Function ReadData ( _
	<OutAttribute> ByRef pBlock As IBlockDescription, _
	<OutAttribute> ByRef pData As IReadValue _
) As AL_ReadData_Result

Parameters

pBlock
Type: CAS.Lib.CommonBus.ApplicationLayer..::..IBlockDescription%
Data block description.
pData
Type: CAS.Lib.CommonBus.ApplicationLayer..::..IReadValue%
Message containing obtained data.

Return Value

ALRes_Success: Operation accomplished successfully ALRes_DatTransferErrr: Data transfer is imposible because of a communication error – loss of communication with a station ALRes_DisInd: Disconnect indication – connection has been shut down remotely or lost because of communication error. Data is unavailable