Skip to main content
Version: 7.9

system.serial.sendBreak

This function is used in Python Scripting.

Description

Sends a break signal for approximately millis milliseconds.

Client Permission Restrictions

This scripting function has no Client Permission restrictions.

Syntax

system.serial.sendBreak(port, millis)

Parameters

TypeParameterDescription
StringportThe name of the serial port, e.g., "COM1" or "dev/ttyS0".
intmillisApproximate length of break signal, in milliseconds.

Returns

Nothing

Scope

All

Code Examples

Example #1
system.serial.sendBreak("COM1", 1000)