User Tools

Site Tools

한국어

logicpython:cubloc_api:puta

This is an old revision of the document!


PutA

Send a byte array on the specified RS-232 channel.

Syntax

from cubloc import PutA
 
PutA(channel: int, array: bytes, byteLength: int)

Parameters

  • channel: RS-232 channel number.
  • array: Source byte array.
  • byteLength: Number of bytes to send.

Example

from cubloc import PutA
 
# Example usage
PutA(0, [1, 2, 3], 1)
logicpython/cubloc_api/puta.1775786798.txt.gz · Last modified: by 127.0.0.1