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

IApplicationLayerMaster..::..ReadData Method

Reads process data from the selected location and device resources.

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

Syntax


AL_ReadData_Result ReadData(
	IBlockDescription pBlock,
	int pStation,
	out IReadValue pData,
	byte pRetries
)
Function ReadData ( _
	pBlock As IBlockDescription, _
	pStation As Integer, _
	<OutAttribute> ByRef pData As IReadValue, _
	pRetries As Byte _
) As AL_ReadData_Result
AL_ReadData_Result^ ReadData(
	IBlockDescription^ pBlock, 
	int^ pStation, 
	[OutAttribute] IReadValue^% pData, 
	unsigned char^ pRetries
)

Parameters

pBlock
Type: CAS.Lib.CommonBus.ApplicationLayer..::..IBlockDescription
IBlockDescription selecting the resource containing the data block to be read.
pStation
Type: Int32
Address of the remote station connected to the common field bus. –1 if not applicable.
pData
Type: CAS.Lib.CommonBus.ApplicationLayer..::..IReadValue%
The buffer IReadValue containing the requested data.
pRetries
Type: Byte
Number of retries to get data.

Return Value

Result of the operation