LCX_UserManual_en_08_1.pdf - 第185页

Remote control commands R&S ® LCX Series 185 User Manual 1 179.2260.02 ─ 08 *STB? Status byte query Reads the contents of the status byte in decimal form. Usage: Query only *TRG T rigger T riggers all actions waiting…

100%1 / 265
Remote control commands
R&S
®
LCX Series
184User Manual 1179.2260.02 ─ 08
Sets bit 0 in the event status register when all preceding commands have been execu-
ted. This bit can be used to initiate a service request. The query writes a "1" into the
output buffer when all preceding commands have been executed, which is useful for
command synchronization.
*RCL <Number>
Recall
Loads the instrument settings from an intermediate memory identified by the specified
number. The instrument settings can be saved to this memory using the command
*SAV with the associated number.
Manual operation:
See "Recall Settings from file..." on page 143
*RST
Reset
Sets the instrument to a defined default status. The default settings are indicated in the
description of commands.
Usage:
Setting only
Manual operation: See "Default Settings" on page 143
*SAV <Number>
Save
Stores the current instrument settings under the specified number in an intermediate
memory. The settings can be recalled using the command *RCL with the associated
number.
Manual operation:
See "Save Settings to file..." on page 143
*SRE <Contents>
Service requests enable
Sets the service request enable register to the indicated value. This command deter-
mines under which conditions a service request is triggered.
The query *SRE? returns a decimal value of the service request enable register which
corresponds to the binary-weighted sum of all bits.
Parameters:
<Contents> Contents of the service request enable register in decimal form.
Bit 6 (MSS mask bit) is always 0.
Range: 0 to 255
Common commands
Remote control commands
R&S
®
LCX Series
185User Manual 1179.2260.02 ─ 08
*STB?
Status byte query
Reads the contents of the status byte in decimal form.
Usage: Query only
*TRG
Trigger
Triggers all actions waiting for a trigger event. In particular, *TRG generates a manual
trigger signal. This common command complements the commands of the TRIGger
subsystem.
Usage:
Event
Manual operation: See "[Trig.]" on page 76
See "Measurement Mode" on page 81
*WAI
Wait to continue
Prevents servicing of the subsequent commands until all preceding commands have
been executed and all signals have settled (see also command synchronization and
*OPC).
Usage:
Event
11.4 Test signal commands
The following section describes the commands for setting the test signal and general
measurement parameters.
The value range of a specified parameter, e.g. frequency, current and voltage varies
depending on the settings of other measurement parameters. For the specified charac-
teristics, see the specifications document, section "Specifications" > "Effective mea-
surement ranges".
Test signal commands
Remote control commands
R&S
®
LCX Series
186User Manual 1179.2260.02 ─ 08
Example: Setting key parameters
The example represents the main remote control commands for the test signal, and
measurement environment.
**************************************************
// Set frequency and voltage level of the test signal
FREQuency[:CW] 1000 // 1 KHz
VOLTage[:LEVel] 1 // 1.00 Vrms
// Set the current level of the test signal (instead of voltage)
CURRent[:LEVel] 0.1 //100 mA
*************************************************
// Set the measurement time interval
APERture SHORt,8
*************************************************
// Query current settings, min, max and default values
FREQuency[:CW]?
// Response: 1000
FREQuency[:CW]? MAX
// Response: 10E+6
FREQuency[:CW]? MIN
// Response: 4
VOLTage[:LEVel]?
// Response: 1.00
VOLTage[:LEVel]? MAX
// Response: 10
VOLTage[:LEVel]? MIN
// Response: 0.01
VOLTage[:LEVel]? DEF
// Response: 1.00
APERture?
// Response: "SHORt",8
APERture......................................................................................................................186
CURRent[:LEVel]........................................................................................................... 187
FREQuency[:CW]...........................................................................................................187
VOLTage[:LEVel]............................................................................................................188
APERture [<Measurement Aperture>]
Sets the measurement time mode and the acquisition time interval.
Parameters:
<Measurement
Aperture>
DEFault | LONG | MEDium | SHORt | SSHort
Selects the basic measurement speed for one measurement.
Test signal commands