| Keysight.Visa Namespace > SerialSession Class : SetBufferSize Method |
'DeclarationPublic Function SetBufferSize( _ ByVal buffers As IOBuffers, _ ByVal size As Integer _ ) As Boolean
'UsageDim instance As SerialSession Dim buffers As IOBuffers Dim size As Integer Dim value As Boolean value = instance.SetBufferSize(buffers, size)
Not all serial drivers support user-defined buffer sizes, so it is possible that a this method may not be able to control this feature. If an application requires a specific buffer size for performance reasons, but this method cannot control the size, Keysight recommends that the calling program use some form of handshaking to prevent overflow conditions.
Current with Keysight IO Libraries Suite 18