File

SCPI Commands :

SENSe:[POWer]:SWEep:HCOPy:FILE:[NAME]:AUTO:[FILE]:NUMBer
SENSe:[POWer]:SWEep:HCOPy:FILE:[NAME]:AUTO:FILE
class FileCls[source]

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

get_number() int[source]
# SCPI: SENSe:[POWer]:SWEep:HCOPy:FILE:[NAME]:AUTO:[FILE]:NUMBer
value: int = driver.sense.power.sweep.hardCopy.file.name.auto.file.get_number()

Queries the generated number in the automatic file name.

return:

number: integer Range: 0 to 999999

get_value() str[source]
# SCPI: SENSe:[POWer]:SWEep:HCOPy:FILE:[NAME]:AUTO:FILE
value: str = driver.sense.power.sweep.hardCopy.file.name.auto.file.get_value()

Queries the file name generated with the automatic naming settings. Note: As default the automatically generated file name is composed of: >PAth>/<Prefix><YYYY><MM><DD><Number>.<Format>. Each component can be deactivated/ activated separately to individually design the file name.

return:

file: string

Cloning the Group

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

Subgroups