User Tools

Site Tools




PutA channel, array, byteLength

channel RS-232 channel (1 to 3)
data Data to send (up to Long type value)
byteLength Number of bytes to send (1 to 65535)

The PutA command is used to send the contents of an array over the specified serial channel. The array's contents will be sent starting from the first element of the array.

Dim A(10) As Byte
OpenCom 1,19200,3,50,10
PutA 1,A,10 ' Send 10 Bytes of Array A


If byteLength is larger than the array, random data may be sent.

Please refer to the On Recv interrupt routine for receiving data using the hardware serial buffer.

Go CUBLOC home

cubloc/puta/index.txt · Last modified: 2017/08/21 14:55 by COMFILE Technology