Parity
SCPI Command :
BUS<*>:UART:PARity
- Commands in total: 1Subgroups: 0Direct child commands: 1
- get(bus=Bus.Default) BusUartParity[source]
# BUS<*>:UART:PARity value: enums.BusUartParity = driver.bus.uart.parity.get(bus = repcap.Bus.Default)
Defines the optional parity bit that is used for error detection.
- Parameters:
bus – optional repeated capability selector. Default value: Nr1 (settable in the interface ‘Bus’)
- Returns:
parity: NONE | ODD | EVEN | MARK | SPC | DC
MARK: The parity bit is always a logic 1.
SPC: SPaCe: The parity bit is always a logic 0.
DC: Don’t Care: the parity is ignored.
- set(parity: BusUartParity, bus=Bus.Default) None[source]
# BUS<*>:UART:PARity driver.bus.uart.parity.set(parity = enums.BusUartParity.DC, bus = repcap.Bus.Default)
Defines the optional parity bit that is used for error detection.
- Parameters:
parity –
NONE | ODD | EVEN | MARK | SPC | DC
MARK: The parity bit is always a logic 1.
SPC: SPaCe: The parity bit is always a logic 0.
DC: Don’t Care: the parity is ignored.
bus – optional repeated capability selector. Default value: Nr1 (settable in the interface ‘Bus’)