Polarity

SCPI Command :

SBUS<*>:UART:POLarity
Commands in total: 1
Subgroups: 0
Direct child commands: 1
get(serialBus=SerialBus.Default) SbusLinUartPolarity[source]
# SBUS<*>:UART:POLarity
value: enums.SbusLinUartPolarity = driver.sbus.uart.polarity.get(serialBus = repcap.SerialBus.Default)

Defines the logic levels of the bus. The idle state corresponds to a logic 1. The start bit corresponds to a logic 0. Idle high (high=1) is used, for example, for control signals, while Idle low (low=1) is defined for data lines (RS-232) .

Parameters:

serialBus – optional repeated capability selector. Default value: Nr1 (settable in the interface ‘Sbus’)

Returns:

polarity: IDLLow | IDLHigh

set(polarity: SbusLinUartPolarity, serialBus=SerialBus.Default) None[source]
# SBUS<*>:UART:POLarity
driver.sbus.uart.polarity.set(polarity = enums.SbusLinUartPolarity.IDLHigh, serialBus = repcap.SerialBus.Default)

Defines the logic levels of the bus. The idle state corresponds to a logic 1. The start bit corresponds to a logic 0. Idle high (high=1) is used, for example, for control signals, while Idle low (low=1) is defined for data lines (RS-232) .

Parameters:
  • polarity – IDLLow | IDLHigh

  • serialBus – optional repeated capability selector. Default value: Nr1 (settable in the interface ‘Sbus’)