User Tools

Site Tools

한국어

logicpython:cubloc_api:getstr

This is an old revision of the document!


GetStr

Read string data from the RS-232 receive buffer.

Syntax

from cubloc import GetStr
 
GetStr(channel: int, length: int)

Return Value

Returns the currently available decoded string data immediately, up to length bytes.

Example

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