:DISK:PROTocol:FNAMe
Command Syntax
:DISK:PROTocol:FNAMe "<path substitution string>\subfolder\filename"
Where:
- "<path substitution string> is a string that expands into a specific file path. For example, %USER_DATA_DIR%.
- "subfolder" is an optional path folder. For example, %USER_DATA_DIR%\Protocols.
- "filename" is a string without the filename extension.
Query Syntax
:DISK:PROTocol:FNAMe?
Description
Specifies the file name when using the :DISK:PROTocol:SAVE command to save a waveform file. The file name that you specify must not include a file-name extension. To select the file format (extension), use the :DISK:PROTocol:SAVE:FTYPe command. The command argument must include a path substitution string. This command supports the DEFault common child command.
Example Command Sequence
:DISK:PROTocol:SAVE:SOURce PROTocol1 :DISK:PROTocol:SAVE:FTYPe SYMBols :DISK:PROTocol:FNAMe "%USER_DATA_DIR%\Protocols\myfile" :DISK:PROTocol:SAVE;*OPC?