Polarity

SCPI Command :

BUS<*>:LIN:POLarity
Commands in total: 1
Subgroups: 0
Direct child commands: 1
get(bus=Bus.Default) BusPolarityMode[source]
# BUS<*>:LIN:POLarity
value: enums.BusPolarityMode = driver.bus.lin.polarity.get(bus = repcap.Bus.Default)

Defines the idle state of the bus. The idle state is the rezessive state and corresponds to a logic 1.

Parameters:

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

Returns:

polarity: IDLLow | IDLHigh

set(polarity: BusPolarityMode, bus=Bus.Default) None[source]
# BUS<*>:LIN:POLarity
driver.bus.lin.polarity.set(polarity = enums.BusPolarityMode.IDLHigh, bus = repcap.Bus.Default)

Defines the idle state of the bus. The idle state is the rezessive state and corresponds to a logic 1.

Parameters:
  • polarity – IDLLow | IDLHigh

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