File

SCPI Commands :

HCOPy:FILE:[NAME]:AUTO:[FILE]:NUMBer
HCOPy:FILE:[NAME]:AUTO:FILE
class FileCls[source]

File commands group definition. 7 total commands, 4 Subgroups, 2 group commands

get_number() int[source]
# SCPI: HCOPy:FILE:[NAME]:AUTO:[FILE]:NUMBer
value: int = driver.hardCopy.file.name.auto.file.get_number()

Queries the number that is used as part of the file name for the next hard copy in automatic mode. At the beginning, the count starts at 0. The R&S AREG800A searches the specified output directory for the highest number in the stored files. It increases this number by one to achieve a unique name for the new file. The resulting auto number is appended to the resulting file name with at least three digits.

return:

number: No help available

get_value() str[source]
# SCPI: HCOPy:FILE:[NAME]:AUTO:FILE
value: str = driver.hardCopy.file.name.auto.file.get_value()

Queries the name of the automatically named hard copy file. An automatically generated file name consists of: <Prefix><YYYY><MM><DD><Number>.<Format>. You can activate each component separately, to individually design the file name.

return:

file: No help available

Cloning the Group

# Create a clone of the original group, that exists independently
group2 = driver.hardCopy.file.name.auto.file.clone()

Subgroups