Printable versions
This Page
All Pages
PDF

Index

Class
Port

Properties
List
Enabled
BaudRate
ComPort

Methods
Read
Write
Purge
Dispose

ByteArrayToString
StringToByteArray

Events
OnRead
OnWritten
OnDSR
OnCTS
OnRI
OnDCD
OnForceClose

More Properties
Parity
StopBits
ByteSize
StartTrigger
EndTrigger
BufferSize
Timeout

DSR
CTS
RI
DCD

Handshake
RTS
DTR
Break
InfraRed

MultiThreading
Parent
NoEvents

Port.BufferSize SerialTools v1.00 and later

Sets the input buffer size. Default value is 0 (changed from default 100 to default 0 in v1.11).

BufferSize returns the number of bytes in the serial buffer that are still not parsed.

NOTE! If you set BufferSize to a value different from 0 then OnRead will not be called until BufferSize bytes of data has been received. By default BufferSize is set to 0, which means this feature is disabled.

See Port.OnRead for how this functionallity is used.

Syntax
object.BufferSize = Value
Value = object.BufferSize

Part Type Description
object SerialNET.Port An object that evaluates to an SerialNET.Port object.
Value int Input buffer size.



100% managed code
© 2016 Franson Technology AB, All rights reserved, Contact | | Affiliate | Login