Report

SCPI Commands :

REPort:PAPersize
REPort:LOGType
REPort:LOGO
REPort:USER
REPort:COMMent
REPort:LANGuage
Commands in total: 8
Subgroups: 1
Direct child commands: 6
get_comment() str[source]
# REPort:COMMent
value: str = driver.report.get_comment()

Enter a comment that appears in the general information section at the beginning of the report.

Returns:

comment: String parameter

get_language() str[source]
# REPort:LANGuage
value: str = driver.report.get_language()

Sets the language to be used in the report. Available languages are listed in the specifications document.

Returns:

language: String with the english language name, upper case.

get_log_type() Logo[source]
# REPort:LOGType
value: enums.Logo = driver.report.get_log_type()

By default, the Rohde & Schwarz logo is shown in the header of the report pages. You can switch the logo off, or select your logo to be shown.

Returns:

logo: RS | CUST | NONE

  • CUST: Select the logo file using REPort:LOGO.

get_logo() str[source]
# REPort:LOGO
value: str = driver.report.get_logo()

Defines the logo file that is used on the report if method RsRtx.report.log_type() is set to CUSTom.

Returns:

logo_file: String with the path and filename of the logo image.

get_paper_size() PaperSize[source]
# REPort:PAPersize
value: enums.PaperSize = driver.report.get_paper_size()

Selects the paper size: A4 or US Letter.

Returns:

paper_size: A4 | USL

get_user() str[source]
# REPort:USER
value: str = driver.report.get_user()

Enter the user name that appears in the general information section at the beginning of the report.

Returns:

user: String parameter

set_comment(comment: str) None[source]
# REPort:COMMent
driver.report.set_comment(comment = 'abc')

Enter a comment that appears in the general information section at the beginning of the report.

Parameters:

comment – String parameter

set_language(language: str) None[source]
# REPort:LANGuage
driver.report.set_language(language = 'abc')

Sets the language to be used in the report. Available languages are listed in the specifications document.

Parameters:

language – String with the english language name, upper case.

set_log_type(logo: Logo) None[source]
# REPort:LOGType
driver.report.set_log_type(logo = enums.Logo.CUST)

By default, the Rohde & Schwarz logo is shown in the header of the report pages. You can switch the logo off, or select your logo to be shown.

Parameters:

logo

RS | CUST | NONE

  • CUST: Select the logo file using REPort:LOGO.

set_logo(logo_file: str) None[source]
# REPort:LOGO
driver.report.set_logo(logo_file = 'abc')

Defines the logo file that is used on the report if method RsRtx.report.log_type() is set to CUSTom.

Parameters:

logo_file – String with the path and filename of the logo image.

set_paper_size(paper_size: PaperSize) None[source]
# REPort:PAPersize
driver.report.set_paper_size(paper_size = enums.PaperSize.A4)

Selects the paper size: A4 or US Letter.

Parameters:

paper_size – A4 | USL

set_user(user: str) None[source]
# REPort:USER
driver.report.set_user(user = 'abc')

Enter the user name that appears in the general information section at the beginning of the report.

Parameters:

user – String parameter

Cloning the Group

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

Subgroups