Automating Measurements
Automated Measurement Setup and Control
Using learn Strings to
The IEEE 488 *LRN ("learn") command can also be used to set or query a
Save and Recall
complete set of instrument parameters. This can be used as a programming
Instrument States
convenience, eliminating the need for using disk hles when saving and
recalling instrument states.
*LRN? as follows:
Since *LRN?, by IEEE definition, only contains the actual instrument state,
exclusive of data traces and calibration arrays, the network analyzer provides
the command
This command saves the data traces and calibration arrays if they are
enabled under
SCPI commands. Using the *LRN command to set the instrument settings
takes about the same amount of time as recalling a hle from disk using
MMEM:LOAD:STATe.
For more details on learn strings, refer to "Example Programs" in the
Programmer's Guide.
7-48
深圳市盛腾仪器仪表有限公司
10 DIM Statel$ C40001
20 OUTPUT cORfna; "*LRN?"
30 ENTER QRfna USING "-K";Statel$
. . .
160
! Put the learn string back
170 OUTPUT ORfna;Statel$
SYST:SET:LRNLong?
(
SAVE
Tel:0755-83589391
Define Saws or using the MMEM:STOR: STATE
Fax:0755-83539691
Website: www.Sengt.co