Serial
SCPI Commands :
SYSTem:COMMunicate:SERial:BAUD
SYSTem:COMMunicate:SERial:PARity
SYSTem:COMMunicate:SERial:RESource
SYSTem:COMMunicate:SERial:SBITs
- class SerialCls[source]
Serial commands group definition. 4 total commands, 0 Subgroups, 4 group commands
- get_baud() RsSmw.enums.Rs232BdRate [source]
# SCPI: SYSTem:COMMunicate:SERial:BAUD value: enums.Rs232BdRate = driver.system.communicate.serial.get_baud()
Defines the baudrate for the serial remote control interface.
- return
baud: 2400| 4800| 9600| 19200| 38400| 57600| 115200
- get_parity() RsSmw.enums.Parity [source]
# SCPI: SYSTem:COMMunicate:SERial:PARity value: enums.Parity = driver.system.communicate.serial.get_parity()
Enters the parity for the serial remote control interface.
- return
parity: NONE| ODD| EVEN
- get_resource() str [source]
# SCPI: 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.
- return
resource: string
- get_sbits() RsSmw.enums.Count [source]
# SCPI: 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.
- return
sbits: 1| 2
- set_baud(baud: RsSmw.enums.Rs232BdRate) None [source]
# SCPI: SYSTem:COMMunicate:SERial:BAUD driver.system.communicate.serial.set_baud(baud = enums.Rs232BdRate._115200)
Defines the baudrate for the serial remote control interface.
- param baud
2400| 4800| 9600| 19200| 38400| 57600| 115200
- set_parity(parity: RsSmw.enums.Parity) None [source]
# SCPI: SYSTem:COMMunicate:SERial:PARity driver.system.communicate.serial.set_parity(parity = enums.Parity.EVEN)
Enters the parity for the serial remote control interface.
- param parity
NONE| ODD| EVEN
- set_sbits(sbits: RsSmw.enums.Count) None [source]
# SCPI: 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.
- param sbits
1| 2