FormatPy

SCPI Command :

PBUS<*>:DATA:FORMat
Commands in total: 1
Subgroups: 0
Direct child commands: 1
get(pwrBus=PwrBus.Default) BitPattern[source]
# PBUS<*>:DATA:FORMat
value: enums.BitPattern = driver.pbus.data.formatPy.get(pwrBus = repcap.PwrBus.Default)

Sets the data format of bus values, which are displayed in the decode table and on the comb bus display. It also sets the format for the number representation for remote data transfer with method RsMxo.pbus.data.values.get() .

Parameters:

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

Returns:

data_format: HEX | OCT | BIN | ASCII | ASCii | SIGN | USIG

set(data_format: BitPattern, pwrBus=PwrBus.Default) None[source]
# PBUS<*>:DATA:FORMat
driver.pbus.data.formatPy.set(data_format = enums.BitPattern.ASCII, pwrBus = repcap.PwrBus.Default)

Sets the data format of bus values, which are displayed in the decode table and on the comb bus display. It also sets the format for the number representation for remote data transfer with method RsMxo.pbus.data.values.get() .

Parameters:
  • data_format – HEX | OCT | BIN | ASCII | ASCii | SIGN | USIG

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