FormatPy

SCPI Command :

BUS<*>:PARallel:DATA:FORMat
Commands in total: 1
Subgroups: 0
Direct child commands: 1
get(bus=Bus.Default) BusDataFormat[source]
# BUS<*>:PARallel:DATA:FORMat
value: enums.BusDataFormat = driver.bus.parallel.data.formatPy.get(bus = repcap.Bus.Default)

Sets the number format for decoded data values on the display for the indicated parallel bus. It sets also the number representation for remote data transfer with method RsRtx.bus.parallel.data.values.get() .

Parameters:

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

Returns:

data_format: For method RsRtx.bus.parallel.display.btyp.set(): HEX | OCT | BIN | ASCII | ASCii | SIGN | USIG For method RsRtx.bus.parallel.display.btyp.set(): SIGN | USIG

set(data_format: BusDataFormat, bus=Bus.Default) None[source]
# BUS<*>:PARallel:DATA:FORMat
driver.bus.parallel.data.formatPy.set(data_format = enums.BusDataFormat.ASCII, bus = repcap.Bus.Default)

Sets the number format for decoded data values on the display for the indicated parallel bus. It sets also the number representation for remote data transfer with method RsRtx.bus.parallel.data.values.get() .

Parameters:
  • data_format – For method RsRtx.bus.parallel.display.btyp.set(): HEX | OCT | BIN | ASCII | ASCii | SIGN | USIG For method RsRtx.bus.parallel.display.btyp.set(): SIGN | USIG

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