File

SCPI Commands :

REPort:FILE:NAME
REPort:FILE:SAVE
Commands in total: 2
Subgroups: 0
Direct child commands: 2
get_name() str[source]
# REPort:FILE:NAME
value: str = driver.report.file.get_name()

Sets the file name and path to save the report to.

Returns:

report_file: String with path and file name. The file extension defines the file format: PDF, HTML, or DOC.

save(opc_timeout_ms: int = -1) None[source]
# REPort:FILE:SAVE
driver.report.file.save()

Saves the report to the specified file.

Parameters:

opc_timeout_ms – Maximum time to wait in milliseconds, valid only for this call.

set_name(report_file: str) None[source]
# REPort:FILE:NAME
driver.report.file.set_name(report_file = 'abc')

Sets the file name and path to save the report to.

Parameters:

report_file – String with path and file name. The file extension defines the file format: PDF, HTML, or DOC.