Skip to main content
Version: 7.9

system.serial.writeBytes

This function is used in Python Scripting.

Description

Write a byte[] to a serial port.

Client Permission Restrictions

This scripting function has no Client Permission restrictions.

Syntax

system.serial.writeBytes(port, toWrite)

Parameters

TypeParameterDescription
StringportThe previously configured serial port to use.
byte[]toWriteThe byte[] to write.

Returns

Nothing

Scope

All