Wsize

SCPI Command :

BUS<*>:SPI:WSIZe
Commands in total: 1
Subgroups: 0
Direct child commands: 1
get(bus=Bus.Default) int[source]
# BUS<*>:SPI:WSIZe
value: int = driver.bus.spi.wsize.get(bus = repcap.Bus.Default)

Sets the number of bits in a message.

Parameters:

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

Returns:

word_length: Number of bits

set(word_length: int, bus=Bus.Default) None[source]
# BUS<*>:SPI:WSIZe
driver.bus.spi.wsize.set(word_length = 1, bus = repcap.Bus.Default)

Sets the number of bits in a message.

Parameters:
  • word_length – Number of bits

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