HardCopy

SCPI Commands :

HCOPy:DESTination
HCOPy:WBKG
HCOPy:SSD
HCOPy:ISBA
Commands in total: 11
Subgroups: 5
Direct child commands: 4
get_destination() str[source]
# HCOPy:DESTination
value: str = driver.hardCopy.get_destination()

Selects the output medium: file, printer or clipboard.

Returns:

medium: String parameter

  • MMEM: Directs the display image to a file. The MMEMory:NAME command defines the file name. The file format is defined with HCOPy:DEVicem:LANGuage.

  • SYST:COMM:CLIP: Directs the hardcopy to the clipboard.

get_isba() bool[source]
# HCOPy:ISBA
value: bool = driver.hardCopy.get_isba()

If the value is set to OFF, the screenshot shows only the diagram area, without the signal bar.

get_ssd() bool[source]
# HCOPy:SSD
value: bool = driver.hardCopy.get_ssd()

Enables or disables the display of open dialogs in screenshots. Use this command if you want to document settings in screenshots.

get_wbkg() bool[source]
# HCOPy:WBKG
value: bool = driver.hardCopy.get_wbkg()

Inverts the background color. So you can print waveforms with normal waveform collors on white background. If both method RsRtx.hardCopy.wbkg() and method RsRtx.hardCopy.device.inverse() are ON, the instrument inverts the background twice, and it appears black. See also: ‘White background’.

Returns:

white_background: OFF | ON

set_destination(medium: str) None[source]
# HCOPy:DESTination
driver.hardCopy.set_destination(medium = 'abc')

Selects the output medium: file, printer or clipboard.

Parameters:

medium

String parameter

  • MMEM: Directs the display image to a file. The MMEMory:NAME command defines the file name. The file format is defined with HCOPy:DEVicem:LANGuage.

  • SYST:COMM:CLIP: Directs the hardcopy to the clipboard.

set_isba(include_sign_bar: bool) None[source]
# HCOPy:ISBA
driver.hardCopy.set_isba(include_sign_bar = False)

If the value is set to OFF, the screenshot shows only the diagram area, without the signal bar.

set_ssd(shw_set_dialog: bool) None[source]
# HCOPy:SSD
driver.hardCopy.set_ssd(shw_set_dialog = False)

Enables or disables the display of open dialogs in screenshots. Use this command if you want to document settings in screenshots.

Parameters:

shw_set_dialog – OFF | ON

set_wbkg(white_background: bool) None[source]
# HCOPy:WBKG
driver.hardCopy.set_wbkg(white_background = False)

Inverts the background color. So you can print waveforms with normal waveform collors on white background. If both method RsRtx.hardCopy.wbkg() and method RsRtx.hardCopy.device.inverse() are ON, the instrument inverts the background twice, and it appears black. See also: ‘White background’.

Parameters:

white_background – OFF | ON

Cloning the Group

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

Subgroups