Serial

SCPI Commands :

SYSTem:COMMunicate:SERial:BAUD
SYSTem:COMMunicate:SERial:PARity
SYSTem:COMMunicate:SERial:RESource
SYSTem:COMMunicate:SERial:SBITs
Commands in total: 4
Subgroups: 0
Direct child commands: 4
get_baud() Rs232BdRate[source]
# SYSTem:COMMunicate:SERial:BAUD
value: enums.Rs232BdRate = driver.system.communicate.serial.get_baud()

Defines the baudrate for the serial remote control interface.

Returns:

baud: 2400 | 4800 | 9600 | 19200 | 38400 | 57600 | 115200

get_parity() Parity[source]
# SYSTem:COMMunicate:SERial:PARity
value: enums.Parity = driver.system.communicate.serial.get_parity()

Enters the parity for the serial remote control interface.

Returns:

parity: NONE | ODD | EVEN

get_resource() str[source]
# SYSTem:COMMunicate:SERial:RESource
value: str = driver.system.communicate.serial.get_resource()

Queries the visa resource string for the serial remote control interface. This string is used for remote control of the instrument.

Returns:

resource: string

get_sbits() Count[source]
# SYSTem:COMMunicate:SERial:SBITs
value: enums.Count = driver.system.communicate.serial.get_sbits()

Defines the number of stop bits for the serial remote control interface.

Returns:

sbits: 1 | 2

set_baud(baud: Rs232BdRate) None[source]
# SYSTem:COMMunicate:SERial:BAUD
driver.system.communicate.serial.set_baud(baud = enums.Rs232BdRate._115200)

Defines the baudrate for the serial remote control interface.

Parameters:

baud – 2400 | 4800 | 9600 | 19200 | 38400 | 57600 | 115200

set_parity(parity: Parity) None[source]
# SYSTem:COMMunicate:SERial:PARity
driver.system.communicate.serial.set_parity(parity = enums.Parity.EVEN)

Enters the parity for the serial remote control interface.

Parameters:

parity – NONE | ODD | EVEN

set_sbits(sbits: Count) None[source]
# SYSTem:COMMunicate:SERial:SBITs
driver.system.communicate.serial.set_sbits(sbits = enums.Count._1)

Defines the number of stop bits for the serial remote control interface.

Parameters:

sbits – 1 | 2