FormatPy

SCPI Commands :

FORMat:BORDer
FORMat:BPATtern
Commands in total: 3
Subgroups: 1
Direct child commands: 2
get_border() FormatBitOrder[source]
# FORMat:BORDer
value: enums.FormatBitOrder = driver.formatPy.get_border()

Sets the endianess. The command is only relevant for raw data export in high definition mode (16 bit word length) .

get_bpattern() BusDataFormat[source]
# FORMat:BPATtern
value: enums.BusDataFormat = driver.formatPy.get_bpattern()

Sets the number format for remote bit pattern queries on serial protocols.

set_border(bte_odr_bin_raw_fmt: FormatBitOrder) None[source]
# FORMat:BORDer
driver.formatPy.set_border(bte_odr_bin_raw_fmt = enums.FormatBitOrder.LSBFirst)

Sets the endianess. The command is only relevant for raw data export in high definition mode (16 bit word length) .

Parameters:

bte_odr_bin_raw_fmt – LSB first: little endian, least significant byte first MSB first: big endian, most significant byte first

set_bpattern(bt_patt_fmt: BusDataFormat) None[source]
# FORMat:BPATtern
driver.formatPy.set_bpattern(bt_patt_fmt = enums.BusDataFormat.ASCII)

Sets the number format for remote bit pattern queries on serial protocols.

Parameters:

bt_patt_fmt – ASCII = ASCii

Cloning the Group

# Create a copy of the original group, that exists independently
formatPy_copy = driver.formatPy.clone()

Subgroups