Device

SCPI Command :

HCOPy:DEVice:FORMat
class DeviceCls[source]

Device commands group definition. 1 total commands, 0 Subgroups, 1 group commands

get_format_py() ScreenshotFormat[source]
# SCPI: HCOPy:DEVice:FORMat
value: enums.ScreenshotFormat = driver.hardCopy.device.get_format_py()

Specifies the format of screenshots created via the commands method RsCmwBase.HardCopy.file, method RsCmwBase.HardCopy. data, method RsCmwBase.HardCopy.Interior.file or method RsCmwBase.HardCopy.Interior.data.

return:

file_formats: No help available

set_format_py(file_formats: ScreenshotFormat) None[source]
# SCPI: HCOPy:DEVice:FORMat
driver.hardCopy.device.set_format_py(file_formats = enums.ScreenshotFormat.BMP)

Specifies the format of screenshots created via the commands method RsCmwBase.HardCopy.file, method RsCmwBase.HardCopy. data, method RsCmwBase.HardCopy.Interior.file or method RsCmwBase.HardCopy.Interior.data.

param file_formats:

BMP | JPG | PNG BMP: Windows bitmap format JPG: JPEG format PNG: PNG format