File

SCPI Commands :

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

Specifies a file path to open a pattern generator file.

Returns:

file_path: String with the name of the file.

open() None[source]
# PGENerator:FILE:OPEN
driver.pgenerator.file.open()

Loads the specified pattern file to the instrument.

open_and_wait(opc_timeout_ms: int = -1) None[source]
# PGENerator:FILE:OPEN
driver.pgenerator.file.open_and_wait()

Loads the specified pattern file to the instrument.

Same as open, 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(file_path: str) None[source]
# PGENerator:FILE[:NAME]
driver.pgenerator.file.set_name(file_path = 'abc')

Specifies a file path to open a pattern generator file.

Parameters:

file_path – String with the name of the file.