7 Save/Recall/Print
7.3 Save
where <mode name> is the parameter used to select the mode with the :INST:SEL
command (for example, SA for Spectrum Analyzer Mode) and <measurement
name> is the parameter used to select the measurement with the :CONF: command
(for example, SAN for the Swept SA measurement).
The Spectrogram file contains a metadata header that describes the current state of
the instrument. The metadata is detailed below.
Remote Command
:MMEMory:STORe:RESults:SPECtrogram <filename>
Example Save the results from the current Spectrogram display to the file myResults.csv in the current
path:
:MMEM:STOR:RES:SPEC "myResults.csv"
Notes If the save is initiated via SCPI, and the file already exists, the file will be overwritten
Using the C: drive is strongly discouraged, since it runs the risk of being overwritten during an
instrument software upgrade
Both single and double quotes are supported for any filename parameter over SCPI
Dependencies If a save of Spectrogram results is requested and Spectrogram is not ON, no file is saved, and a
message is generated
The Spectrogram choice only appears if option EDP is licensed
Spectrogram
This section discusses the Spectrogram Results file format. The Spectrogram choice
only appears if option EDP is licensed.
The Spectrogram results are the same as a Trace data export, except that instead of
having just one trace’s data, all 300 traces appear, one after the other.
Each trace has its own data mark; the data for Spectrogram Trace 0 follows the row
marked DATA, the data for Spectrogram Trace 1 follows the row marked DATA1, for
Spectrogram Trace 2 follows the row marked DATA2, and so on.
Each DATA row has a timestamp in the second column (as of firmware revision
A.11.01). So, for example, if Trace 0 had a relative start time of 1729.523 sec, then
the first DATA row would look like this:
DATA,1729.523
And if Trace 13 had a relative start time of 100.45 sec, then the fourteenth data row
would look like:
DATA13,100.453
To find the absolute time for the relative timestamps of each trace, the last row
before the first DATA row gives the absolute start time of the Spectrogram, in the
form YYYYMMDDHHMMSS
So, for example, if the absolute start time is 13:23:45:678 on January 30, 2012, this
row would look like:
Start Time,20120130132345678
2577 Spectrum Analyzer Mode User's &Programmer's Reference