HardCopy
SCPI Command:
HCOPy:DATA
HCOPy:FILE
- class HardCopyCls[source]
HardCopy commands group definition. 3 total commands, 1 Subgroups, 2 group commands
- get_data() bytes [source]
# SCPI: HCOPy:DATA value: bytes = driver.hardCopy.get_data()
Captures a screenshot and returns the result in block data format, see also ‘Block data’. It is recommended to ‘switch on’ the display before sending this command, see method RsCma.System.Display.update.
- return:
data: Screenshot in 488.2 block data format
- set_file(filename: str) None [source]
# SCPI: HCOPy:FILE driver.hardCopy.set_file(filename = '1')
Captures a screenshot and stores it to the specified file. It is recommended to ‘switch on’ the display before sending this command, see method RsCma.System.Display.update.
- param filename:
String parameter specifying the absolute path and name of the file. The file extension is added automatically according to the configured format (see method RsCma.HardCopy.Device.formatPy) .
Cloning the Group
# Create a clone of the original group, that exists independently
group2 = driver.hardCopy.clone()
Subgroups