File

SCPI Commands :

POWer:REPort:FILE:NAME
POWer:REPort:FILE:SAVE
POWer:REPort:FILE:DELete
Commands in total: 4
Subgroups: 1
Direct child commands: 3
delete() None[source]
# POWer:REPort:FILE:DELete
driver.power.report.file.delete()

Deletes the selected report file.

delete_and_wait(opc_timeout_ms: int = -1) None[source]
# POWer:REPort:FILE:DELete
driver.power.report.file.delete_and_wait()

Deletes the selected report file.

Same as delete, but waits for the operation to complete before continuing further. Use the RsRtx.utilities.opc_timeout_set() to set the timeout value.

Parameters:

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

get_name() str[source]
# POWer:REPort:FILE:NAME
value: str = driver.power.report.file.get_name()

Defines the path and file name of the report file that is to be created, saved, or deleted.

Returns:

path: String containing path and file name

save() None[source]
# POWer:REPort:FILE:SAVE
driver.power.report.file.save()

Saves the report file.

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

Saves the report file.

Same as save, but waits for the operation to complete before continuing further. Use the RsRtx.utilities.opc_timeout_set() to set the timeout value.

Parameters:

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

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

Defines the path and file name of the report file that is to be created, saved, or deleted.

Parameters:

path – String containing path and file name

Cloning the Group

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

Subgroups