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
Type | Parameter | Description |
---|---|---|
String | port | The name of the serial port, e.g., "COM1" or "dev/ttyS0". |
int | millis | Approximate length of break signal, in milliseconds. |
Returns
Nothing
Scope
All
Code Examples
Example #1
system.serial.sendBreak("COM1", 1000)