The File menu is displayed when the folder icon in the upper left is pressed.
The File menu contains Recall and Save As functions that let you load and save states and other data for the generator.
The files can be found at the following default locations:
State Files folder:
<drive varies by deployment>\<user>\Documents\Keysight\PathWave\SignalGenerator\States
SCPI Logging Files folder:
<drive varies by deployment>\<user>\Documents\Keysight\PathWave\SignalGenerator\Logs
Recall lets you choose a file from which to recall the state of the signal generator. State files have the extension “.sgen”.
The file is loaded from the current state file directory, unless you browse to another directory, in which case that becomes the current state file directory. Save and Recall share the same current state file directory. The initial value of the current state file directory is D:\Users\Instrument\Documents\Keysight\PathWave\SignalGenerator\States.
GUI Location |
File > Recall |
SCPI Command |
:MEMory:STATe:RECall “<filename>” |
SCPI Example |
MEM:STAT:REC "MyStateFile.sgen" |
Notes |
You can specify a directory as part of the filename; if you do not, the file is loaded from D:\Users\Instrument\Documents\Keysight\PathWave\SignalGenerator\States. This is true regardless of the current directory. The current directory only affects the front panel functions, not the SCPI. When you pick a file to recall, the instrument first verifies that the file is recallable in the current instrument by checking the software version and model number of the instrument. If everything matches, a full recall proceeds by clearing any pending operations, and then loading the State from the saved state file. While loading, the message “Recalling state from <filename>” is displayed (where <filename> is the name of the file being loaded). If there is a mismatch between file version or model number or instrument version, the recall function tries to recall as much as possible and returns a warning message. It may limit settings that differ based on model number, licensing or version number. If the file specified is empty an error is generated. If the specified file does not exist, an error is generated If there is a mismatch between the file and the proper file type, an error is generated. If there is a mismatch between file version or model number or instrument version, a warning is displayed. If loading a single-signal-per-channel state into a multi-signal system, each accounted for group will load the single signal into signal one of the correlating group. The remaining signals will be set to default values. If loading a multi-signal state into a single-signal-per-channel system, each accounted for group will load only the first signal in the correlating group. Generates a warning. If loading a state with fewer channels than the current system, group settings will be loaded into the correlating groups. Remaining RF channels will be set to default values. If loading a state with more channels than the current system, group settings will be loaded into their correlating groups until either a group tries to consume more RF channels than remaining or until all RF channels are consumed. Remaining RF channels will be set to default values. For instance, recalling Group 1: IND, Group 2: BND2, Group 3: IND into a two channel system will result in Group 1: IND (containing file state) and Group 2: IND (default settings). Generates a warning. After successfully recalling the state, the Recall State function does the following:
|
Initial S/W Revision |
A.01.00 |
Save As lets you choose a filename to save the state of the signal generator. State files have the extension “.sgen”.
The file is saved to the current state file directory, unless you browse to another directory, in which case that becomes the current state file directory. Save and Recall share the same current state file directory. The initial value of the current state file directory is D:\Users\Instrument\Documents\Keysight\PathWave\SignalGenerator\States.
"Save As" files will be auto-named as "State_" followed by a 4-digit number which is the lowest number that does not conflict with any filename in the current directory (0000 being the smallest such number). So if there are no state files in the current directory, “State_0000.sgen” will be the auto-chosen filename.
You can change the auto-generated filename before you save. If you do so, the new filename you entered, and any numeric suffix, will be used as the new auto-filename root. For example, if you change the filename to “Fred1234.sgen”, the first subsequent auto-filename will be “Fred_0000.sgen”.
GUI Location |
File > Save As |
SCPI Command |
:MEMory:STATe:SAVE "<filename>" |
SCPI Example |
MEM:STAT:SAVE "MyStateFile.sgen" |
Notes |
You can specify a directory as part of the filename; if you do not, the file is loaded from D:\Users\Instrument\Documents\Keysight\PathWave\SignalGenerator\States. This is true regardless of the current directory. The current directory only affects the front panel functions, not the SCPI. While saving, the message “Saving state to <filename>” is displayed (where <filename> is the name of the file being saved). If for any reason the state cannot be saved, an error is generated. After successfully saving the state, the Save State function does the following:
|
Initial S/W Revision |
A.01.00 |