filesystem
¶
The filesystem commands module.
These commands are used in the following models: DPO7AX, LPD6, MSO4, MSO4B, MSO5, MSO5B, MSO5LP, MSO6, MSO6B
THIS FILE IS AUTO-GENERATED, IT SHOULD NOT BE MANUALLY MODIFIED.
Please report an issue if one is found.
Commands and Queries
- FILESystem:COPy {<source_file_path>,<destination_file_path>}
- FILESystem:CWD <QString>
- FILESystem:CWD?
- FILESystem:DELEte <file_path>
- FILESystem:DIR?
- FILESystem:HOMEDir?
- FILESystem:LDIR?
- FILESystem:MKDir <directory_path>
- FILESystem:MOUNT:DRIVE <QString>
- FILESystem:MOUNT:DRIVE?
- FILESystem:MOUNT:TEKDrive <QString>
- FILESystem:MOUNT:TEKDrive?
- FILESystem:READFile <QString>
- FILESystem:REName <old_file_path>,<new_file_path>
- FILESystem:RMDir <directory_path>
- FILESystem:TEKDrive:CODE:EXPirytime?
- FILESystem:TEKDrive:CODE:STATus?
- FILESystem:TEKDrive:CODE?
- FILESystem:UNMOUNT:DRIve <QString>
- FILESystem:UNMOUNT:TEKDrive <QString>
- FILESystem:WRITEFile <file_path>,<data>
- FILESystem?
Filesystem
¶
Bases: SCPICmdRead
The FILESystem command.
Description
- This query-only command returns the directory listing of the current working directory.
This query is the same as the
FILESystem:DIR?query.
Usage
- Using the
.query()method will send theFILESystem?query. - Using the
.verify(value)method will send theFILESystem?query and raise an AssertionError if the returned value does not matchvalue.
SCPI Syntax
- FILESystem?
Properties
.copy: TheFILESystem:COPycommand..cwd: TheFILESystem:CWDcommand..delete: TheFILESystem:DELEtecommand..dir: TheFILESystem:DIRcommand..homedir: TheFILESystem:HOMEDircommand..ldir: TheFILESystem:LDIRcommand..mkdir: TheFILESystem:MKDircommand..mount: TheFILESystem:MOUNTcommand tree..readfile: TheFILESystem:READFilecommand..rename: TheFILESystem:RENamecommand..rmdir: TheFILESystem:RMDircommand..tekdrive: TheFILESystem:TEKDrivecommand tree..unmount: TheFILESystem:UNMOUNTcommand tree..writefile: TheFILESystem:WRITEFilecommand.
copy
property
¶
copy: FilesystemCopy
Return the FILESystem:COPy command.
Description
- This command (no query form) copies a named file to a new file. The new file might be in a totally separate directory than the old file. You can only copy one file at a time using this command. Wild card characters are not allowed.
Usage
- Using the
.write(value)method will send theFILESystem:COPy valuecommand.
SCPI Syntax
- FILESystem:COPy {<source_file_path>,<destination_file_path>}
Info
<source_file_path>is a quoted string that defines the file name and path or directory. If the file path is within the current working directory, you need only specify the file name.<destination_file_path>is a quoted string that defines the file name and path. If the file path is within the current working directory, you need only specify the file name.
cwd
property
¶
cwd: FilesystemCwd
Return the FILESystem:CWD command.
Description
- This command sets or queries the current working directory. CWD is short for Current Working Directory. It changes the directory (folder) that the other FILESystem commands operate on. Note: There are three host ports on the front panel (E:, F:, and G:), and two on the back panel (H: and I:.
Usage
- Using the
.query()method will send theFILESystem:CWD?query. - Using the
.verify(value)method will send theFILESystem:CWD?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theFILESystem:CWD valuecommand.
SCPI Syntax
- FILESystem:CWD <QString>
- FILESystem:CWD?
Info
<QString>is a quoted string that defines the current working; a directory name can be up to 128 characters.
delete
property
¶
delete: FilesystemDelete
Return the FILESystem:DELEte command.
Description
- This command (no query form) deletes a named file or directory from a mass storage device. Once removed, the data in that file or directory can no longer be accessed. If the specified file is a directory, it must be empty before it can be deleted.
Usage
- Using the
.write(value)method will send theFILESystem:DELEte valuecommand.
SCPI Syntax
- FILESystem:DELEte <file_path>
Info
<file_path>is a quoted string that defines the file name and path. If the file path is within the current working directory, you need only specify the file name.
dir
property
¶
dir: FilesystemDir
Return the FILESystem:DIR command.
Description
- This query-only command returns a comma separated list of quoted strings. Each string
contains the name of a file or directory in the folder referred to by the
FILESYSTEM:CWDFILESystem:CWDcommand.
Usage
- Using the
.query()method will send theFILESystem:DIR?query. - Using the
.verify(value)method will send theFILESystem:DIR?query and raise an AssertionError if the returned value does not matchvalue.
SCPI Syntax
- FILESystem:DIR?
homedir
property
¶
homedir: FilesystemHomedir
Return the FILESystem:HOMEDir command.
Description
- This query returns the current user’s home directory.
Usage
- Using the
.query()method will send theFILESystem:HOMEDir?query. - Using the
.verify(value)method will send theFILESystem:HOMEDir?query and raise an AssertionError if the returned value does not matchvalue.
SCPI Syntax
- FILESystem:HOMEDir?
ldir
property
¶
ldir: FilesystemLdir
Return the FILESystem:LDIR command.
Description
- Returns a comma separated list of every file, file size, type, modification date and
time, and directory in the folder referred to by the
FILESYSTEM:CWDFILESystem:CWDcommand. This is different than the:DIRquery in that it provides a long output format with the file size, type, and modification date/time. Each entry is a semicolon separated list: < file name>;; ; ;
Usage
- Using the
.query()method will send theFILESystem:LDIR?query. - Using the
.verify(value)method will send theFILESystem:LDIR?query and raise an AssertionError if the returned value does not matchvalue.
SCPI Syntax
- FILESystem:LDIR?
mkdir
property
¶
mkdir: FilesystemMkdir
Return the FILESystem:MKDir command.
Description
- This command (no query form) creates a new directory.
Usage
- Using the
.write(value)method will send theFILESystem:MKDir valuecommand.
SCPI Syntax
- FILESystem:MKDir <directory_path>
Info
<directory_path>is a quoted string that specifies the directory to create.
mount
property
¶
mount: FilesystemMount
Return the FILESystem:MOUNT command tree.
Usage
- Using the
.query()method will send theFILESystem:MOUNT?query. - Using the
.verify(value)method will send theFILESystem:MOUNT?query and raise an AssertionError if the returned value does not matchvalue.
Sub-properties
.drive: TheFILESystem:MOUNT:DRIVEcommand..tekdrive: TheFILESystem:MOUNT:TEKDrivecommand.
readfile
property
¶
readfile: FilesystemReadfile
Return the FILESystem:READFile command.
Description
- This command writes the contents of the specified file to the current interface. If the specified file does not exist or is not readable, an appropriate error event is posted.
Usage
- Using the
.write(value)method will send theFILESystem:READFile valuecommand.
SCPI Syntax
- FILESystem:READFile <QString>
Info
<QString>is a quoted string that defines the file name and path. If the file path is within the current working directory, you need only specify the file name.
rename
property
¶
rename: FilesystemRename
Return the FILESystem:REName command.
Description
- This command (no query form) assigns a new name to an existing file or folder.
Usage
- Using the
.write(value)method will send theFILESystem:REName valuecommand.
SCPI Syntax
- FILESystem:REName <old_file_path>,<new_file_path>
Info
<old_file_path>,<new_file_path>is a quoted string that defines the file or folder name and path. If the path is within the current working directory, you need only specify the file or folder name.
rmdir
property
¶
rmdir: FilesystemRmdir
Return the FILESystem:RMDir command.
Description
- This command (no query form) deletes a named directory. The directory must be empty.
Usage
- Using the
.write(value)method will send theFILESystem:RMDir valuecommand.
SCPI Syntax
- FILESystem:RMDir <directory_path>
Info
<directory_path>is a quoted string that defines the folder name and path. If the folder path is within the current working directory, you need only specify the folder name.
tekdrive
property
¶
tekdrive: FilesystemTekdrive
Return the FILESystem:TEKDrive command tree.
Usage
- Using the
.query()method will send theFILESystem:TEKDrive?query. - Using the
.verify(value)method will send theFILESystem:TEKDrive?query and raise an AssertionError if the returned value does not matchvalue.
Sub-properties
.code: TheFILESystem:TEKDrive:CODEcommand.
unmount
property
¶
unmount: FilesystemUnmount
Return the FILESystem:UNMOUNT command tree.
Usage
- Using the
.query()method will send theFILESystem:UNMOUNT?query. - Using the
.verify(value)method will send theFILESystem:UNMOUNT?query and raise an AssertionError if the returned value does not matchvalue.
Sub-properties
.drive: TheFILESystem:UNMOUNT:DRIvecommand..tekdrive: TheFILESystem:UNMOUNT:TEKDrivecommand.
writefile
property
¶
writefile: FilesystemWritefile
Return the FILESystem:WRITEFile command.
Description
- This command (no query form) writes the specified block data to the specified file on the instruments file system. If the destination file cannot be written, an error event is posted.
Usage
- Using the
.write(value)method will send theFILESystem:WRITEFile valuecommand.
SCPI Syntax
- FILESystem:WRITEFile <file_path>,<data>
Info
<file_path>,<data>is a quoted string that defines the file name and path and the block data to be written. If the file path is within the current working directory, you need only specify the file name.
FilesystemCopy
¶
Bases: SCPICmdWrite
The FILESystem:COPy command.
Description
- This command (no query form) copies a named file to a new file. The new file might be in a totally separate directory than the old file. You can only copy one file at a time using this command. Wild card characters are not allowed.
Usage
- Using the
.write(value)method will send theFILESystem:COPy valuecommand.
SCPI Syntax
- FILESystem:COPy {<source_file_path>,<destination_file_path>}
Info
<source_file_path>is a quoted string that defines the file name and path or directory. If the file path is within the current working directory, you need only specify the file name.<destination_file_path>is a quoted string that defines the file name and path. If the file path is within the current working directory, you need only specify the file name.
FilesystemCwd
¶
Bases: SCPICmdWrite, SCPICmdRead
The FILESystem:CWD command.
Description
- This command sets or queries the current working directory. CWD is short for Current Working Directory. It changes the directory (folder) that the other FILESystem commands operate on. Note: There are three host ports on the front panel (E:, F:, and G:), and two on the back panel (H: and I:.
Usage
- Using the
.query()method will send theFILESystem:CWD?query. - Using the
.verify(value)method will send theFILESystem:CWD?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theFILESystem:CWD valuecommand.
SCPI Syntax
- FILESystem:CWD <QString>
- FILESystem:CWD?
Info
<QString>is a quoted string that defines the current working; a directory name can be up to 128 characters.
FilesystemDelete
¶
Bases: SCPICmdWrite
The FILESystem:DELEte command.
Description
- This command (no query form) deletes a named file or directory from a mass storage device. Once removed, the data in that file or directory can no longer be accessed. If the specified file is a directory, it must be empty before it can be deleted.
Usage
- Using the
.write(value)method will send theFILESystem:DELEte valuecommand.
SCPI Syntax
- FILESystem:DELEte <file_path>
Info
<file_path>is a quoted string that defines the file name and path. If the file path is within the current working directory, you need only specify the file name.
FilesystemDir
¶
Bases: SCPICmdRead
The FILESystem:DIR command.
Description
- This query-only command returns a comma separated list of quoted strings. Each string
contains the name of a file or directory in the folder referred to by the
FILESYSTEM:CWDFILESystem:CWDcommand.
Usage
- Using the
.query()method will send theFILESystem:DIR?query. - Using the
.verify(value)method will send theFILESystem:DIR?query and raise an AssertionError if the returned value does not matchvalue.
SCPI Syntax
- FILESystem:DIR?
FilesystemHomedir
¶
Bases: SCPICmdRead
The FILESystem:HOMEDir command.
Description
- This query returns the current user’s home directory.
Usage
- Using the
.query()method will send theFILESystem:HOMEDir?query. - Using the
.verify(value)method will send theFILESystem:HOMEDir?query and raise an AssertionError if the returned value does not matchvalue.
SCPI Syntax
- FILESystem:HOMEDir?
FilesystemLdir
¶
Bases: SCPICmdRead
The FILESystem:LDIR command.
Description
- Returns a comma separated list of every file, file size, type, modification date and time,
and directory in the folder referred to by the
FILESYSTEM:CWDFILESystem:CWDcommand. This is different than the:DIRquery in that it provides a long output format with the file size, type, and modification date/time. Each entry is a semicolon separated list: < file name>;; ; ;
Usage
- Using the
.query()method will send theFILESystem:LDIR?query. - Using the
.verify(value)method will send theFILESystem:LDIR?query and raise an AssertionError if the returned value does not matchvalue.
SCPI Syntax
- FILESystem:LDIR?
FilesystemMkdir
¶
Bases: SCPICmdWrite
The FILESystem:MKDir command.
Description
- This command (no query form) creates a new directory.
Usage
- Using the
.write(value)method will send theFILESystem:MKDir valuecommand.
SCPI Syntax
- FILESystem:MKDir <directory_path>
Info
<directory_path>is a quoted string that specifies the directory to create.
FilesystemMount
¶
Bases: SCPICmdRead
The FILESystem:MOUNT command tree.
Usage
- Using the
.query()method will send theFILESystem:MOUNT?query. - Using the
.verify(value)method will send theFILESystem:MOUNT?query and raise an AssertionError if the returned value does not matchvalue.
Properties
.drive: TheFILESystem:MOUNT:DRIVEcommand..tekdrive: TheFILESystem:MOUNT:TEKDrivecommand.
drive
property
¶
drive: FilesystemMountDrive
Return the FILESystem:MOUNT:DRIVE command.
Description
- The command form mounts a network drive specified by the quoted string argument. The quoted string argument is a semicolon separated list of the following fields: Drive name - The drive name to be mounted. It is a case insensitive single letter followed by a colon. The drive name must be a letter between ‘L:’ and ‘Z:’, inclusive. Server identity - The server identity is the DNS name of the server or the IP address of the server. Path - The path to be mounted (e.g. /level1/level2/mydirectory). User name - The user name for the drive. User password - The password for the drive. Domain name - The domain/workgroup of the target mount. Verbose - The verbose option to capture mount failure messages. Domain name, user name, user password, and verbose are optional and are only used for mounts requiring SMB/CIFS interworking (MS Windows and MacOS). The query form returns a 0 or 1 to indicate that the drive name (quoted string) is currently mounted or not. A return of 1 indicates the drive is mounted. A return of 0 indicated the drive is not mounted.
Usage
- Using the
.query()method will send theFILESystem:MOUNT:DRIVE?query. - Using the
.verify(value)method will send theFILESystem:MOUNT:DRIVE?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theFILESystem:MOUNT:DRIVE valuecommand.
SCPI Syntax
- FILESystem:MOUNT:DRIVE <QString>
- FILESystem:MOUNT:DRIVE?
tekdrive
property
¶
tekdrive: FilesystemMountTekdrive
Return the FILESystem:MOUNT:TEKDrive command.
Description
- This command mounts the TekDrive specified by the quoted string arguments. The argument must contain the drive name, AutoDisconnectMode, RestrictToCurrentIP, and AutoDisconnectTime. The drive name is the TekDrive name to be mounted. It is case insensitive. There are three options available for AutoDisconnectMode: Select Power Cycle to unmount the TekDrive after power cycling the oscilloscope. There is no time restriction when this option is selected. Select Never to mount the TekDrive connection permanently. Select Custom to disconnect the TekDrive after a chosen duration. The default selection is Power Cycle. RestrictToCurrentIP restricts the connection to current network IP only. This may be used for additional network security. AutoDisconnectTime is the required time for the Auto Disconnect. The TekDrive gets disconnected automatically from the instrument after the specified time. The duration is in hours. The minimum is 0.25 hours and the maximum is 744 hours. The query form of this command returns whether or not the specified TekDrive is mounted.
Usage
- Using the
.query()method will send theFILESystem:MOUNT:TEKDrive?query. - Using the
.verify(value)method will send theFILESystem:MOUNT:TEKDrive?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theFILESystem:MOUNT:TEKDrive valuecommand.
SCPI Syntax
- FILESystem:MOUNT:TEKDrive <QString>
- FILESystem:MOUNT:TEKDrive?
Info
<QString>provides the information needed to mount the TekDrive and must have the drive name, AutoDisconnectMode, RestrictToCurrentIP, and AutoDisconnectTime.
FilesystemMountDrive
¶
Bases: SCPICmdWrite, SCPICmdRead
The FILESystem:MOUNT:DRIVE command.
Description
- The command form mounts a network drive specified by the quoted string argument. The quoted string argument is a semicolon separated list of the following fields: Drive name - The drive name to be mounted. It is a case insensitive single letter followed by a colon. The drive name must be a letter between ‘L:’ and ‘Z:’, inclusive. Server identity - The server identity is the DNS name of the server or the IP address of the server. Path - The path to be mounted (e.g. /level1/level2/mydirectory). User name - The user name for the drive. User password - The password for the drive. Domain name - The domain/workgroup of the target mount. Verbose - The verbose option to capture mount failure messages. Domain name, user name, user password, and verbose are optional and are only used for mounts requiring SMB/CIFS interworking (MS Windows and MacOS). The query form returns a 0 or 1 to indicate that the drive name (quoted string) is currently mounted or not. A return of 1 indicates the drive is mounted. A return of 0 indicated the drive is not mounted.
Usage
- Using the
.query()method will send theFILESystem:MOUNT:DRIVE?query. - Using the
.verify(value)method will send theFILESystem:MOUNT:DRIVE?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theFILESystem:MOUNT:DRIVE valuecommand.
SCPI Syntax
- FILESystem:MOUNT:DRIVE <QString>
- FILESystem:MOUNT:DRIVE?
FilesystemMountTekdrive
¶
Bases: SCPICmdWrite, SCPICmdRead
The FILESystem:MOUNT:TEKDrive command.
Description
- This command mounts the TekDrive specified by the quoted string arguments. The argument must contain the drive name, AutoDisconnectMode, RestrictToCurrentIP, and AutoDisconnectTime. The drive name is the TekDrive name to be mounted. It is case insensitive. There are three options available for AutoDisconnectMode: Select Power Cycle to unmount the TekDrive after power cycling the oscilloscope. There is no time restriction when this option is selected. Select Never to mount the TekDrive connection permanently. Select Custom to disconnect the TekDrive after a chosen duration. The default selection is Power Cycle. RestrictToCurrentIP restricts the connection to current network IP only. This may be used for additional network security. AutoDisconnectTime is the required time for the Auto Disconnect. The TekDrive gets disconnected automatically from the instrument after the specified time. The duration is in hours. The minimum is 0.25 hours and the maximum is 744 hours. The query form of this command returns whether or not the specified TekDrive is mounted.
Usage
- Using the
.query()method will send theFILESystem:MOUNT:TEKDrive?query. - Using the
.verify(value)method will send theFILESystem:MOUNT:TEKDrive?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theFILESystem:MOUNT:TEKDrive valuecommand.
SCPI Syntax
- FILESystem:MOUNT:TEKDrive <QString>
- FILESystem:MOUNT:TEKDrive?
Info
<QString>provides the information needed to mount the TekDrive and must have the drive name, AutoDisconnectMode, RestrictToCurrentIP, and AutoDisconnectTime.
FilesystemReadfile
¶
Bases: SCPICmdWrite
The FILESystem:READFile command.
Description
- This command writes the contents of the specified file to the current interface. If the specified file does not exist or is not readable, an appropriate error event is posted.
Usage
- Using the
.write(value)method will send theFILESystem:READFile valuecommand.
SCPI Syntax
- FILESystem:READFile <QString>
Info
<QString>is a quoted string that defines the file name and path. If the file path is within the current working directory, you need only specify the file name.
FilesystemRename
¶
Bases: SCPICmdWrite
The FILESystem:REName command.
Description
- This command (no query form) assigns a new name to an existing file or folder.
Usage
- Using the
.write(value)method will send theFILESystem:REName valuecommand.
SCPI Syntax
- FILESystem:REName <old_file_path>,<new_file_path>
Info
<old_file_path>,<new_file_path>is a quoted string that defines the file or folder name and path. If the path is within the current working directory, you need only specify the file or folder name.
FilesystemRmdir
¶
Bases: SCPICmdWrite
The FILESystem:RMDir command.
Description
- This command (no query form) deletes a named directory. The directory must be empty.
Usage
- Using the
.write(value)method will send theFILESystem:RMDir valuecommand.
SCPI Syntax
- FILESystem:RMDir <directory_path>
Info
<directory_path>is a quoted string that defines the folder name and path. If the folder path is within the current working directory, you need only specify the folder name.
FilesystemTekdrive
¶
Bases: SCPICmdRead
The FILESystem:TEKDrive command tree.
Usage
- Using the
.query()method will send theFILESystem:TEKDrive?query. - Using the
.verify(value)method will send theFILESystem:TEKDrive?query and raise an AssertionError if the returned value does not matchvalue.
Properties
.code: TheFILESystem:TEKDrive:CODEcommand.
code
property
¶
code: FilesystemTekdriveCode
Return the FILESystem:TEKDrive:CODE command.
Description
- This command returns short code in string format. This code must be entered (or pasted) at http://drive.tekcloud.com/activate. After the code is entered click the Activate button to complete the mounting of the TekDrive.
Usage
- Using the
.query()method will send theFILESystem:TEKDrive:CODE?query. - Using the
.verify(value)method will send theFILESystem:TEKDrive:CODE?query and raise an AssertionError if the returned value does not matchvalue.
SCPI Syntax
- FILESystem:TEKDrive:CODE?
Sub-properties
.expirytime: TheFILESystem:TEKDrive:CODE:EXPirytimecommand..status: TheFILESystem:TEKDrive:CODE:STATuscommand.
FilesystemTekdriveCode
¶
Bases: SCPICmdRead
The FILESystem:TEKDrive:CODE command.
Description
- This command returns short code in string format. This code must be entered (or pasted) at http://drive.tekcloud.com/activate. After the code is entered click the Activate button to complete the mounting of the TekDrive.
Usage
- Using the
.query()method will send theFILESystem:TEKDrive:CODE?query. - Using the
.verify(value)method will send theFILESystem:TEKDrive:CODE?query and raise an AssertionError if the returned value does not matchvalue.
SCPI Syntax
- FILESystem:TEKDrive:CODE?
Properties
.expirytime: TheFILESystem:TEKDrive:CODE:EXPirytimecommand..status: TheFILESystem:TEKDrive:CODE:STATuscommand.
expirytime
property
¶
expirytime: FilesystemTekdriveCodeExpirytime
Return the FILESystem:TEKDrive:CODE:EXPirytime command.
Description
- This command returns expiry time of short code. It is the absolute time that the
expiry command returns. For example, if
2:11pm is the time the user initiated the TekDrive mounting, then the expiry query returns + 5 minutes (2:16pm).
Usage
- Using the
.query()method will send theFILESystem:TEKDrive:CODE:EXPirytime?query. - Using the
.verify(value)method will send theFILESystem:TEKDrive:CODE:EXPirytime?query and raise an AssertionError if the returned value does not matchvalue.
SCPI Syntax
- FILESystem:TEKDrive:CODE:EXPirytime?
status
property
¶
status: FilesystemTekdriveCodeStatus
Return the FILESystem:TEKDrive:CODE:STATus command.
Description
- This command returns status of short code.
Usage
- Using the
.query()method will send theFILESystem:TEKDrive:CODE:STATus?query. - Using the
.verify(value)method will send theFILESystem:TEKDrive:CODE:STATus?query and raise an AssertionError if the returned value does not matchvalue.
SCPI Syntax
- FILESystem:TEKDrive:CODE:STATus?
FilesystemTekdriveCodeExpirytime
¶
Bases: SCPICmdRead
The FILESystem:TEKDrive:CODE:EXPirytime command.
Description
- This command returns expiry time of short code. It is the absolute time that the expiry
command returns. For example, if
2:11pm is the time the user initiated the TekDrive mounting, then the expiry query returns + 5 minutes (2:16pm).
Usage
- Using the
.query()method will send theFILESystem:TEKDrive:CODE:EXPirytime?query. - Using the
.verify(value)method will send theFILESystem:TEKDrive:CODE:EXPirytime?query and raise an AssertionError if the returned value does not matchvalue.
SCPI Syntax
- FILESystem:TEKDrive:CODE:EXPirytime?
FilesystemTekdriveCodeStatus
¶
Bases: SCPICmdRead
The FILESystem:TEKDrive:CODE:STATus command.
Description
- This command returns status of short code.
Usage
- Using the
.query()method will send theFILESystem:TEKDrive:CODE:STATus?query. - Using the
.verify(value)method will send theFILESystem:TEKDrive:CODE:STATus?query and raise an AssertionError if the returned value does not matchvalue.
SCPI Syntax
- FILESystem:TEKDrive:CODE:STATus?
FilesystemUnmount
¶
Bases: SCPICmdRead
The FILESystem:UNMOUNT command tree.
Usage
- Using the
.query()method will send theFILESystem:UNMOUNT?query. - Using the
.verify(value)method will send theFILESystem:UNMOUNT?query and raise an AssertionError if the returned value does not matchvalue.
Properties
.drive: TheFILESystem:UNMOUNT:DRIvecommand..tekdrive: TheFILESystem:UNMOUNT:TEKDrivecommand.
drive
property
¶
drive: FilesystemUnmountDrive
Return the FILESystem:UNMOUNT:DRIve command.
Description
- This command unmounts the USB drive specified by the quoted string argument.
Usage
- Using the
.write(value)method will send theFILESystem:UNMOUNT:DRIve valuecommand.
SCPI Syntax
- FILESystem:UNMOUNT:DRIve <QString>
Info
<QString>is a quoted string that specifies which USB drive to unmount. String is a case insensitive single letter followed by a colon.
tekdrive
property
¶
tekdrive: FilesystemUnmountTekdrive
Return the FILESystem:UNMOUNT:TEKDrive command.
Description
- This command unmounts the TekDrive specified by the quoted string argument and the drive name is case insensitive.
Usage
- Using the
.write(value)method will send theFILESystem:UNMOUNT:TEKDrive valuecommand.
SCPI Syntax
- FILESystem:UNMOUNT:TEKDrive <QString>
Info
<QString>specifies the TekDrive to unmount.
FilesystemUnmountDrive
¶
Bases: SCPICmdWrite
The FILESystem:UNMOUNT:DRIve command.
Description
- This command unmounts the USB drive specified by the quoted string argument.
Usage
- Using the
.write(value)method will send theFILESystem:UNMOUNT:DRIve valuecommand.
SCPI Syntax
- FILESystem:UNMOUNT:DRIve <QString>
Info
<QString>is a quoted string that specifies which USB drive to unmount. String is a case insensitive single letter followed by a colon.
FilesystemUnmountTekdrive
¶
Bases: SCPICmdWrite
The FILESystem:UNMOUNT:TEKDrive command.
Description
- This command unmounts the TekDrive specified by the quoted string argument and the drive name is case insensitive.
Usage
- Using the
.write(value)method will send theFILESystem:UNMOUNT:TEKDrive valuecommand.
SCPI Syntax
- FILESystem:UNMOUNT:TEKDrive <QString>
Info
<QString>specifies the TekDrive to unmount.
FilesystemWritefile
¶
Bases: SCPICmdWrite
The FILESystem:WRITEFile command.
Description
- This command (no query form) writes the specified block data to the specified file on the instruments file system. If the destination file cannot be written, an error event is posted.
Usage
- Using the
.write(value)method will send theFILESystem:WRITEFile valuecommand.
SCPI Syntax
- FILESystem:WRITEFile <file_path>,<data>
Info
<file_path>,<data>is a quoted string that defines the file name and path and the block data to be written. If the file path is within the current working directory, you need only specify the file name.