FormatPy
SCPI Command :
BUS<*>:FORMat
- Commands in total: 1Subgroups: 0Direct child commands: 1
- get(bus=Bus.Default) BusDataFormat[source]
# BUS<*>:FORMat value: enums.BusDataFormat = driver.bus.formatPy.get(bus = repcap.Bus.Default)
Sets the number format for decoded data values of the indicated serial bus. It defines the format in the decode table, and in the combs of the decoded signal on the screen.
- Parameters:
bus – optional repeated capability selector. Default value: Nr1 (settable in the interface ‘Bus’)
- Returns:
data_format: ASCII = ASCii USIG = unsigned
- set(data_format: BusDataFormat, bus=Bus.Default) None[source]
# BUS<*>:FORMat driver.bus.formatPy.set(data_format = enums.BusDataFormat.ASCII, bus = repcap.Bus.Default)
Sets the number format for decoded data values of the indicated serial bus. It defines the format in the decode table, and in the combs of the decoded signal on the screen.
- Parameters:
data_format – ASCII = ASCii USIG = unsigned
bus – optional repeated capability selector. Default value: Nr1 (settable in the interface ‘Bus’)