This shows you the differences between two versions of the page.
| logicpython:cubloc_api:getstr2 [2026/04/10 02:06] – created - external edit 127.0.0.1 | logicpython:cubloc_api:getstr2 [2026/04/10 04:06] (current) – removed mfranklin | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== GetStr2 ====== | ||
| - | |||
| - | Read string data until a stop character is encountered. | ||
| - | |||
| - | ===== Syntax ===== | ||
| - | |||
| - | <code python> | ||
| - | from cubloc import GetStr2 | ||
| - | |||
| - | GetStr2(channel: | ||
| - | </ | ||
| - | |||
| - | ===== Return Value ===== | ||
| - | |||
| - | Returns decoded string data up to '' | ||
| - | |||
| - | ===== Example ===== | ||
| - | |||
| - | <code python> | ||
| - | from cubloc import GetStr2 | ||
| - | |||
| - | # Example usage | ||
| - | result = GetStr2(0, 1, 10) | ||
| - | print(result) | ||
| - | </ | ||
| - | |||
| - | ===== Related APIs ===== | ||
| - | |||
| - | * [[logicpython: | ||
| - | * [[logicpython: | ||
| - | * [[logicpython: | ||
| - | * [[logicpython: | ||
| - | * [[logicpython: | ||