CAS.CommServer.DataProvider.MODBUSCore Namespace
CAS.CommServer.DataProvider.TextReader Namespace
CAS.Lib.CommonBus.ApplicationLayer Namespace
N:CAS.Lib.CommonBus.ApplicationLayer.Modbus
CAS.Lib.CommonBus.ApplicationLayer.Modbus Namespace
CAS.Lib.CommonBus.ApplicationLayer.SBUS Namespace
ProcessObserver.DataProviders

TextReaderApplicationLayerMaster..::..GetEmptyWriteDataBuffor Method

Gets a buffer from a pool and initiates. After filling it up with the data can be send to the data provider remote unit by the WriteData(IWriteValue%, Byte).

Namespace:  CAS.CommServer.DataProvider.TextReader
Assembly:  DataProvider.TextReader (in DataProvider.TextReader.dll)

Syntax


public IWriteValue GetEmptyWriteDataBuffor(
	IBlockDescription block,
	int station
)
Public Function GetEmptyWriteDataBuffor ( _
	block As IBlockDescription, _
	station As Integer _
) As IWriteValue
public:
IWriteValue^ GetEmptyWriteDataBuffor(
	IBlockDescription^ block, 
	int^ station
)

Parameters

block
Type: IBlockDescription
IBlockDescription selecting the resource where the data block is to be written.
station
Type: Int32
Address of the remote station connected to the common field bus. –1 if not applicable.

Return Value

A buffer IWriteValue ready to be filled up with the data and written down by the WriteData(IWriteValue%, Byte) to the destination – remote station.

Exceptions


ExceptionCondition
NotImplementedException