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

String port - The name of the serial port, e.g., "COM1" or "dev/ttyS0".

Integer millis - Approximate length of break signal, in milliseconds.

  • Returns

Nothing

  • Scope

Gateway, Vision Client, Perspective Session

Code Examples
Code Snippet
# This example will send a break signal to a port called "COM1" for 10000 milliseconds.
port = "COM1"
millis = 10000

system.serial.sendBreak(port,millis)
Keywords

system serial sendBreak, serial.sendBreak