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

ICommunicationLayer..::..GetChar Method (Byte%)

Get the next character from the receiving stream. Blocks until next character is available.

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

Syntax


TGetCharRes GetChar(
	out byte lastChr
)
Function GetChar ( _
	<OutAttribute> ByRef lastChr As Byte _
) As TGetCharRes
TGetCharRes^ GetChar(
	[OutAttribute] unsigned char^% lastChr
)

Parameters

lastChr
Type: Byte%
The character

Return Value

Success: Operation accomplished successfully Timeout: Data is unavailable because of a communication error – loss of communication with a station DisInd: Disconnect indication – connection has been shut down remotely or lost because of communication error. Data is unavailable