TextReaderApplicationLayerMaster..::..ReadData Method
Reads process data from the selected location and device resources.
Namespace:
CAS.CommServer.DataProvider.TextReaderAssembly: DataProvider.TextReader (in DataProvider.TextReader.dll)
Syntax
public AL_ReadData_Result ReadData( IBlockDescription pBlock, int pStation, out IReadValue pData, byte pRetries )
Public Function ReadData ( _ pBlock As IBlockDescription, _ pStation As Integer, _ <OutAttribute> ByRef pData As IReadValue, _ pRetries As Byte _ ) As AL_ReadData_Result
public: AL_ReadData_Result^ ReadData( IBlockDescription^ pBlock, int^ pStation, [OutAttribute] IReadValue^% pData, unsigned char^ pRetries )
Parameters
- pBlock
- Type: 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: IReadValue%
The buffer IReadValue containing the requested data.
- pRetries
- Type: Byte
Number of retries to get data.