:SYSTem:MPButton:QSPBack:OSCilloscope:FNAMe
Command Syntax
:SYSTem:MPButton:QSPBack:OSCilloscope:FNAMe "<file name>"
"<file name>" is a string of the file name with optional path. The string can include path substitution strings.
Query Syntax
:SYSTem:MPButton:QSPBack:OSCilloscope:FNAMe?
Description
When the Multi-Purpose button is configured to run a unique SCPI script for each instrument mode, this command identifies the path and name of the Oscilloscope mode script. To select to use unique scripts, use the :SYSTem:MPButton:QSPBack:SSCRipt
command. To configure the Multi-Purpose button to run a SCPI script file, use the :SYSTem:MPButton:FUNCtion
command.
Requires FlexDCA revision A.04.50 and above.
Default User Folder
The default folder for storing TYPE files is in %USER_DATA_DIR%\FOLDER
as shown in this picture. It is good practice to include a path substitution string with the filename. For example, %USER_DATA_DIR%\FOLDER\filename
.
File names must include a path when using the child :FNAMe
command. The :FNAMe
command is not affected by a Default Setup or Factory Preset.
Specifying a path using a path substitution string in the filename ensures that the file will be saved in (or loaded from) the standard user-data folder. Failure to use a path substitution string may result either in a file created in an parent folder or a file error.
Example Command Sequence
:SYSTem:MPButton:QSPBack:SSCRipt OFF // Separate script for each Instrument mode :SYSTem:MPButton:QSPBack:EYE:FNAMe "EyeOpeningScript.scpi" // Script for Eye mode :SYSTem:MPButton:QSPBack:JITTer:FNAMe "JitterScript.scpi" // Script for Jitter mode :SYSTem:MPButton:QSPBack:OSCilloscope:FNAMe "ScopeScript.scpi" // Script for Scope mode :SYSTem:MPButton:QSPBack:TDR:FNAMe "TDRScript.scpi" // Script for TDR/TDT mode :SYSTem:MPButton:FUNCtion RSCRipt // Assign running s script to Multi-Purpose button