User Tools

Site Tools

한국어

logicpython:cubloc_api:checkbf

This is an old revision of the document!


CheckBf

Return the number of bytes waiting in the receive buffer without consuming them.

Syntax

from cubloc import CheckBf
 
CheckBf(channel: int)

Parameters

  • channel: RS-232 channel number (0 or 1).

Return Value

Return the number of bytes waiting in the receive buffer without consuming them.

Exceptions

Example

from cubloc import CheckBf
 
# Example usage
result = CheckBf(0)
print(result)
logicpython/cubloc_api/checkbf.1775786798.txt.gz · Last modified: by 127.0.0.1