serial
¶
The serial commands module.
These commands are used in the following models: SMU2601B_Pulse
THIS FILE IS AUTO-GENERATED, IT SHOULD NOT BE MANUALLY MODIFIED.
Please report an issue if one is found.
Attributes and Functions
- serial.baud
- serial.databits
- serial.parity
Serial
¶
Bases: BaseTSPCmd
The serial command tree.
Properties and methods
.baud: Theserial.baudattribute..databits: Theserial.databitsattribute..parity: Theserial.parityattribute.
baud
property
writable
¶
baud: str
Access the serial.baud attribute.
Description
- This attribute configures the baud rate for the RS-232 port.
Usage
- Accessing this property will send the
print(serial.baud)query. - Setting this property to a value will send the
serial.baud = valuecommand.
TSP Syntax
- serial.baud = value
- print(serial.baud)
| Raises: |
|
|---|
databits
property
writable
¶
databits: str
Access the serial.databits attribute.
Description
- This attribute configures character width (data bits) for the RS-232 port.
Usage
- Accessing this property will send the
print(serial.databits)query. - Setting this property to a value will send the
serial.databits = valuecommand.
TSP Syntax
- serial.databits = value
- print(serial.databits)
Info
bits, the an integer representing the character width (7 or 8).
| Raises: |
|
|---|
parity
property
writable
¶
parity: str
Access the serial.parity attribute.
Description
- This attribute configures parity for the RS-232 port.
Usage
- Accessing this property will send the
print(serial.parity)query. - Setting this property to a value will send the
serial.parity = valuecommand.
TSP Syntax
- serial.parity = value
- print(serial.parity)
| Raises: |
|
|---|