FormatPy
SCPI Commands :
SBUS<*>:I2C:FORMat:LOAD
SBUS<*>:I2C:FORMat:SAVE
- Commands in total: 30Subgroups: 5Direct child commands: 2
- load(filename: str, serialBus=SerialBus.Default) None[source]
# SBUS<*>:I2C:FORMat:LOAD driver.sbus.i2C.formatPy.load(filename = 'abc', serialBus = repcap.SerialBus.Default)
Loads a the specified XML file with a list of frame formats.
- Parameters:
serialBus – optional repeated capability selector. Default value: Nr1 (settable in the interface ‘Sbus’)
- save(filename: str, serialBus=SerialBus.Default) None[source]
# SBUS<*>:I2C:FORMat:SAVE driver.sbus.i2C.formatPy.save(filename = 'abc', serialBus = repcap.SerialBus.Default)
Saves the current list of frame formats to an XML file with the specified name.
- Parameters:
serialBus – optional repeated capability selector. Default value: Nr1 (settable in the interface ‘Sbus’)
Cloning the Group
# Create a copy of the original group, that exists independently
formatPy_copy = driver.sbus.i2C.formatPy.clone()
Subgroups