- 297 -
InBufferCount
Acquires the size of meaningful data in the receive buffer (in buffer).
■
Syntax
[VB]
Public Property
ReadOnly
InBufferCount
As
Integer
[C#]
public int
InBufferCount
{
get
}
■
Property
Size of meaningful data in the receive buffer (in buffer) (bytes)
■
Exceptions
Name of Exception
Meaning
ObjectDisposedException The COM port has not been opened yet.
■
Note
Each time a piece of data is read from the receive buffer using the Input method, the size of
meaningful data in the receive buffer decreases by the amount of the data just read out.
If the port is closed by specifying "false" for the PortOpen property, the size of meaningful
data is reset to “0”.
[Ex.] Read out all data remaining in the receive buffer.
[VB]
While MyComm.InBufferCount > 0
len = MyComm.Input(buffer, 0, buffer.Length)
End While
[C#]
while (MyComm.InBufferCount > 0)
{
len = MyComm.Input(buffer, 0, buffer.Length);
}
Summary of Contents for BHT-400-CE
Page 1: ...Class Library Reference Manual Bar Code Handy Terminal BHT 400 CE ...
Page 49: ... 43 17 9 LED UsageCollection This class is invalid at the BHT 400 ...
Page 66: ... 60 17 26 Display This function is not supported ...
Page 67: ... 61 17 27 Display Settings This function is not supported ...
Page 78: ... 72 Events Event Name Description OnDone Occurs when decoding is complete Enumeration None ...
Page 166: ... 160 18 9 LED UsageCollection This class is invalid on the BHT400 ...
Page 289: ... 283 18 26 Display This function is not supported ...
Page 290: ... 284 18 27 Display Settings This function is not supported ...