User Tools

Site Tools

한국어

logicpython:cubloc_api:bclr

This is an old revision of the document!


BClr

Clear the RS-232 receive buffer, send buffer, or both buffers.

Syntax

from cubloc import BClr
 
BClr(channel: int, bufferType: int)

Parameters

  • channel: RS-232 channel number (0 or 1).
  • bufferType: 0=Receive buffer, 1=Send buffer, 2=Both buffers.

Exceptions

Example

from cubloc import BClr
 
# Example usage
BClr(0, 16)
logicpython/cubloc_api/bclr.1775786798.txt.gz · Last modified: by 127.0.0.1