Polarity

SCPI Command :

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

Defines the polarity of the data signal for the active (U0) state of the port.

Parameters:

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

Returns:

polarity: NORMal | INVert

  • NORMal: Normal (non-inverted) data signal polarity

  • INVert: Inverted data signal polarity

set(polarity: BusDataSignalPolarity, bus=Bus.Default) None[source]
# BUS<*>:USBThree:POLarity
driver.bus.usbThree.polarity.set(polarity = enums.BusDataSignalPolarity.INVert, bus = repcap.Bus.Default)

Defines the polarity of the data signal for the active (U0) state of the port.

Parameters:
  • polarity

    NORMal | INVert

    • NORMal: Normal (non-inverted) data signal polarity

    • INVert: Inverted data signal polarity

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