Directory

SCPI Commands :

SENSe:[POWer]:SWEep:HCOPy:FILE:[NAME]:AUTO:DIRectory:CLEar
SENSe:[POWer]:SWEep:HCOPy:FILE:[NAME]:AUTO:DIRectory
class DirectoryCls[source]

Directory commands group definition. 2 total commands, 0 Subgroups, 2 group commands

clear() None[source]
# SCPI: SENSe:[POWer]:SWEep:HCOPy:FILE:[NAME]:AUTO:DIRectory:CLEar
driver.sense.power.sweep.hardCopy.file.name.auto.directory.clear()

Deletes all files with extensions bmp , img, png, xpm and csv in the directory set for automatic naming.

clear_with_opc(opc_timeout_ms: int = -1) None[source]
# SCPI: SENSe:[POWer]:SWEep:HCOPy:FILE:[NAME]:AUTO:DIRectory:CLEar
driver.sense.power.sweep.hardCopy.file.name.auto.directory.clear_with_opc()

Deletes all files with extensions bmp , img, png, xpm and csv in the directory set for automatic naming.

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

param opc_timeout_ms:

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

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

Defines the directory into which the hardcopy files are stored if auto naming is activated (SENS:SWE:HCOP:FILE:AUTO:STAT ON) .

return:

directory: string

set_value(directory: str) None[source]
# SCPI: SENSe:[POWer]:SWEep:HCOPy:FILE:[NAME]:AUTO:DIRectory
driver.sense.power.sweep.hardCopy.file.name.auto.directory.set_value(directory = 'abc')

Defines the directory into which the hardcopy files are stored if auto naming is activated (SENS:SWE:HCOP:FILE:AUTO:STAT ON) .

param directory:

string