File
SCPI Commands :
HCOPy:FILE:[NAME]:AUTO:[FILE]:NUMBer
HCOPy:FILE:[NAME]:AUTO:FILE
- Commands in total: 7Subgroups: 4Direct child commands: 2
- get_number() int[source]
# 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 SMW200A 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.
- Returns:
number: integer Range: 0 to 999999
- get_value() str[source]
# 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.
- Returns:
file: string
Cloning the Group
# Create a copy of the original group, that exists independently
file_copy = driver.hardCopy.file.name.auto.file.clone()
Subgroups