CurrentDirectory

SCPI Command:

MMEMory:CDIRectory
class CurrentDirectoryCls[source]

CurrentDirectory commands group definition. 1 total commands, 0 Subgroups, 1 group commands

get(directory_name: str = None) str[source]
# SCPI: MMEMory:CDIRectory
value: str = driver.massMemory.currentDirectory.get(directory_name = '1')

Changes the current directory for file access.

param directory_name:

String parameter to specify the directory. If the parameter is omitted, the current directory is set to ‘/’. If the string contains not only a directory, but also a drive letter or server name, the command MMEMory:MSIS is also executed automatically.

return:

directory_name: String parameter to specify the directory. If the parameter is omitted, the current directory is set to ‘/’. If the string contains not only a directory, but also a drive letter or server name, the command MMEMory:MSIS is also executed automatically.

set(directory_name: str = None) None[source]
# SCPI: MMEMory:CDIRectory
driver.massMemory.currentDirectory.set(directory_name = '1')

Changes the current directory for file access.

param directory_name:

String parameter to specify the directory. If the parameter is omitted, the current directory is set to ‘/’. If the string contains not only a directory, but also a drive letter or server name, the command MMEMory:MSIS is also executed automatically.