This manual contains proprietary information, which is protected by
copyright. All rights are reserved. No part of this manual may be
photocopied, reproduced or translated to another language without
prior written consent of Good Will company.
The information in this manual was correct at the time of printing.
However, Good Will continues to improve products and reserves the
rights to change specification, equipment, and maintenance
procedures at any time without notice.
Good Will Instrument Co., Ltd.
No. 7-1, Jhongsing Rd., Tucheng Dist., New Taipei City 236, Taiwan.
Warning: Identifies conditions or practices that
could result in injury or loss of life.
CAUTION
Caution: Identifies conditions or practices that
could result in damage to the instrument or to
other properties.
DANGER High Voltage
Attention Refer to the Manual
Earth (ground) Terminal
Frame or Chassis Terminal
SAFETY INSTRUCTIONS
This chapter contains important safety
instructions that you must follow during
operation and storage. Read the following before
any operation to ensure your safety and to keep
the instrument in the best possible condition.
Safety Symbols
These safety symbols may appear in this manual or on the
instrument.
2
SAFETY INSTRUCTIONS
Do not dispose electronic equipment as unsorted
municipal waste. Please use a separate collection
facility or contact the supplier from which this
instrument was purchased.
General
Guideline
CAUTION
Do not place any heavy object on the
instrument.
Avoid severe impact or rough handling that
leads to damaging the instrument.
Do not discharge static electricity to the
instrument.
Use only mating connectors, not bare wires, for
the terminals.
Ensure signals to the RF input do not exceed
+30dBm.
Ensure reverse power to the TG output terminal
does not exceed +30dBm.
Do not supply any input signals to the TG
output.
Do not block the cooling fan opening.
Do not disassemble the instrument unless you
are qualified.
(Measurement categories) EN 61010-1:2010 specifies the
measurement categories and their requirements as follows. The
instrument falls under category II.
Measurement category IV is for measurement performed at the
source of low-voltage installation.
Measurement category III is for measurement performed in the
building installation.
Measurement category II is for measurement performed on the
circuits directly connected to the low voltage installation.
Measurement category I is for measurements performed on
circuits not directly connected to Mains.
Safety Guidelines
3
GSP-9300 Programming Manual
Power Supply
WARNING
AC Input voltage range: 100V~240V
Frequency: 50/60Hz
To avoid electrical shock connect the protective
grounding conductor of the AC power cord to
an earth ground.
Battery
CAUTION
Rating: 10.8V, 6 cell Li-ion battery
Turn off the power and remove the power cord
before installing or removing the battery.
Cleaning
Disconnect the power cord before cleaning.
Use a soft cloth dampened in a solution of mild
detergent and water. Do not spray any liquid.
Do not use chemicals containing harsh material
such as benzene, toluene, xylene, and acetone.
Operation
Environment
Location: Indoor, no direct sunlight, dust free,
almost non-conductive pollution (Note below)
Temperature: 5°C to 45°C
Humidity: <90%
(Pollution Degree) EN 61010-1:2010 specifies the pollution degrees
and their requirements as follows. The instrument falls under
degree 2.
Pollution refers to “addition of foreign matter, solid, liquid, or
gaseous (ionized gases), that may produce a reduction of dielectric
strength or surface resistivity”.
Pollution degree 1: No pollution or only dry, non-conductive
pollution occurs. The pollution has no influence.
Pollution degree 2: Normally only non-conductive pollution
occurs. Occasionally, however, a temporary conductivity caused
by condensation must be expected.
Pollution degree 3: Conductive pollution occurs, or dry, non-
conductive pollution occurs which becomes conductive due to
condensation which is expected. In such conditions, equipment
is normally protected against exposure to direct sunlight,
precipitation, and full wind pressure, but neither temperature
nor humidity is controlled.
Do not dispose this instrument as unsorted
municipal waste. Please use a separate collection
facility or contact the supplier from which this
instrument was purchased. Please make sure
discarded electrical waste is properly recycled to
reduce environmental impact.
5
GSP-9300 Programming Manual
Green/ Yellow:
Earth
Blue:
Neutral
Brown:
Live (Phase)
Power cord for the United Kingdom
When using the instrument in the United Kingdom, make sure the
power cord meets the following safety instructions.
NOTE: This lead/appliance must only be wired by competent persons
WARNING: THIS APPLIANCE MUST BE EARTHED
IMPORTANT: The wires in this lead are coloured in accordance with the
following code:
As the colours of the wires in main leads may not correspond with
the coloured marking identified in your plug/appliance, proceed
as follows:
The wire which is coloured Green & Yellow must be connected to
the Earth terminal marked with either the letter E, the earth symbol
or coloured Green/Green & Yellow.
The wire which is coloured Blue must be connected to the terminal
which is marked with the letter N or coloured Blue or Black.
The wire which is coloured Brown must be connected to the
terminal marked with the letter L or P or coloured Brown or Red.
If in doubt, consult the instructions provided with the equipment
or contact the supplier.
This cable/appliance should be protected by a suitably rated and
approved HBC mains fuse: refer to the rating information on the
equipment and/or user instructions for details. As a guide, a cable
of 0.75mm2 should be protected by a 3A or 5A fuse. Larger
conductors would normally require 13A types, depending on the
connection method used.
Any exposed wiring from a cable, plug or connection that is
engaged in a live socket is extremely hazardous. If a cable or plug is
deemed hazardous, turn off the mains power and remove the cable,
any fuses and fuse assemblies. All hazardous wiring must be
immediately destroyed and replaced in accordance to the above
standard.
The GSP-9300 builds on the strong feature set of the GSP-930 and
significantly increases performance in almost every aspect; making
this the most comprehensive and feature-rich spectrum analyzer
GW Instek has released.
Like the GSP-930, the GSP-9300 features a split window display to
view data in spectrum, topographic or spectrographic views. There
are also a number of additional test functions such as 2FSK, 1PdB
and new dedicated EMC pretest functions for EMI and EMS testing.
Lastly, the GSP-9300 significantly reduces the sweep time and RBW
filter step resolution and complexity.
Main Features
8
GETTING STARTED
Gate sweep
Marker Frequency counter
Two operating modes: Spectrum and Power
Meter mode
EMI Pretest functions
SEM measurement
ACPR measurement
OCBW measurement
2FSK measurement
Phase jitter measurement
Harmonics measurement
P1dB measurement
Channel power measurement
Demodulation analyzer
Diverse marker functions and features with
Peak Table
Sequence function to automatically perform pre-
programmed sequential operations
Optional battery operation
9
GSP-9300 Programming Manual
Interface
8.4 color LCD (800600)
On-screen menu icons
DVI-I video output
RS-232 with RTS/CTS hardware flow control
USB 2.0 with support for USB TMC
LAN TCP/IP with LXI support
Optional GPIB/IEEE488 interface
Optional 3G USB adapter for WLAN
Optional power meter adapter
IF output @ 886MHz
Headphone output
REF (reference clock) input/output BNC ports
Alarm/Open collector output BNC port
Trigger/Gate input BNC ports
RF N-type input port
Tracking generator output
DC +7V/500mA output SMB port
3.5mm stereo headphone jack
(wired for mono operation)
USB B
USB B Device port. USB 1.1/2.0
18
GETTING STARTED
LAN
RJ-45 10Base-T/100Base-Tx
19
Display
Scale and
Reference
level
Attenuation
level
Date
and time
Function
menu
Marker
information
Trace/
Detection
settings
Unassigned
setting
icons
Sweep,
Trigger,
Pre-amp
and USB
settings
Frequency/Bandwidth
settings
Status icons
Sweep
settings
Traces and
waveforms
LXI icon
Entry /
Message
area
Sweep
progress
bar
Scale
Displays the vertical scale of the vertical grid.
Reference level
Displays the reference level.
Attenuation
Displays the vertical scale (attenuation) of the
input signal.
Date/Time
Displays the date and time.
Marker
information
Displays marker information.
LXI icon
This icon indicates the status of the LXI connection.
For details, see page 27.
GSP-9300 Programming Manual
20
GETTING STARTED
Function menu
Soft menu keys associated with the F1 to F7
function keys to the right of the display.
Sweep Mode
This icon displays the sweep mode,
as set by the Sweep Mode key.
Sweep settings
Sweep icon that shows the sweep
status.
Trace and
detection settings
Trace icon that shows the trace type
and the detection mode used for
each trace.
Blank
Unassigned setting icons.
Trigger settings
Trigger icon that shows the trigger
status.
Pre-amp settings
Pre-amplifier icon that shows the
Pre-amplifier status.
USB settings
Displays the status of the USB A
port.
Status Icons
Displays the interface status, power source status
and alarm status, etc. See the Status Icon Overview
on page 23 for a list of the status icons.
Frequency/
Bandwidth
settings
Displays the Start, Center and Stop frequencies,
RBW, VBW, Span and Sweep settings.
21
GSP-9300 Programming Manual
Entry/Message
area
This area is used to show system messages, errors
and input values/parameters.
Trace and
waveforms
Main display showing the input signals, traces,
limit lines and marker positions.
Sweep progress
bar
The sweep progress bar shows the progress of
slow sweeps (greater than 2 seconds).
22
GETTING STARTED
3G Adapter
Indicates that the 3G adapter is
installed and turned on.
Demo Kit
Indicates that the demo kit is
installed and turned on.
PreAmp
Indicates that the pre amplifier is
on.
AC
Shown when running on AC
power.
AC Charge
Shown when the AC power is
charging the battery.
Alarm Off
Alarm buzzer output is currently
off.
Alarm On
Alarm buzzer output is currently
on.
Amplitude Offset
Indicates that the amplitude-shift is
active. This icon appears when
amplitude-related functions are
used:
Reference level offset
Amplitude Correction
Input Z = 75Ω & Input Z cal >0
Battery indicator
~
Indicates the battery charge.
Bandwidth
Indicator
Indicates that the RBW or VBW
settings are in manual mode.
Status Icon Overview
23
GSP-9300 Programming Manual
Average
Indicates that the Average function
is active.
External Lock
Indicates that the system is now
locked and refers to the external
reference input signal
External Trigger
External trigger signal is being
used.
Math
Trace math is being used.
Sequence
Indicator
Shown when a sequence is running.
Sweep Indicator
Indicates that the sweep time is
manually set.
Tracking
generator
Indicates that the tracking generator
is turned on.
TG Normalization
Indicates that the tracking generator
has been normalized.
Wake-up clock
Indicates that the wake-up clock is
turned on.
USB
Indicates that a USB flash drive is
inserted into the front panel and is
recognized.
Micro SD
Indicates that a micro SD card is
inserted into the front panel and is
recognized.
Status Registers .............................................................. 54
Command List ................................................................. 64
REMOTE CONTROL
This chapter describes the basic configuration of
IEEE488.2 based remote control. This chapter
includes interface configuration, a remote control
overview as well as the control syntax and
commands.
25
GSP-9300 Programming Manual
USB
configuration
PC side
connector
Type A, host
GSP side
connector
Rear panel Type B, slave
Speed
1.1/2.0 (full speed/high speed)
USB Class
USB TMC (USB T&M class)
Panel operation
1. Connect the USB cable to the rear
panel USB B port.
2. Press
System
>More[F7]>RmtInterface
Config[F1]>USB Mode andtoggle the USB mode to Device.
Note
It may take a few moments to switch USB modes.
Configure GPIB
1. Ensure the spectrum anlayzer is off before
proceeding.
2. Connect a GPIB cable from a
GPIB controller to the GPIB port
on the spectrum analyzer.
3. Turn the spectrum analyzer on.
Interface Configuration
Configure to USB Remote Interface
Configure GPIB Interface
To use GPIB, the optional GPIB port must be installed.
26
REMOTE CONTROL
4.Press
System
>More[F7]>RmtInterface
Config[F1]>GPIB Addr[F1] andset the GPIB
address.
GPIB address
0~30
GPIB constraints
Maximum 15 devices altogether, 20m cable length,
2m between each device
Unique address assigned to each device
At least 2/3 of the devices turned On
No loop or parallel connection
Background
The LAN interface is used for remote control
over a network. The spectrum analyzer
supports DHCP connections so the instrument
can be automatically connected to an existing
network. Alternatively, network settings can
also be manually configured.
LAN
configuration
Settings
IP Address
Default Gateway
Subnet Mask
DNS Server
DHCP on/off
Connection
Connect an Ethernet cable from
the network to the rear panel LAN
port.
Configure the LAN and LXI Interface
The GSP-9300 is a class C LXI compliant instrument. The LXI
specification allows instrumentation to be configured for remote
control or monitoring over a LAN or WLAN. The GSP-9300 also
supports HiSlip. HiSlip (High-Speed LAN Instrument Protocol) is
an advanced LAN based standard for 488.2 communications.
For details on the LXI specification and compliance classes, please
see the LXI website @ http://www.lxistandard.org.
27
GSP-9300 Programming Manual
Settings
1.Press
System
>More[F7]>RmtInterface[F1]>
LAN[F2]>LAN Config[F1] toset the LAN
settings:
IP Address[F1]
Sets the IP address.
Subnet Mask[F2]
Sets the subnet mask.
Default
Gateway[F3]
Sets the default gateway.
DNS Server[F4]
Sets the DNS server address
LAN Config[F5]
Toggles the LAN
configuration between DHCP
and manual settings.
Hint: Use dotted decimal notation when entering
IP addresses, ie., 172.16.20.8
2. Press Apply[F6] to confirm the LAN
configuration settings.
Display Icon
The LXI icon turns green when connected
to a LAN and will flash if the
“Identification” setting is on, see page 37.
Set Password
The password on the LXI webpage can be set
from the spectrum analyzer. The password is
shown in the system information.
By default the password is set to: lxiWNpwd
3. Press
System
>More[F7]>RmtInterface
Config[F1]>LAN[F2]>LXIPassword[F3] to set
the password.
4. Enter the password using the
F1~F7 keys, as shown below, or
use the numeric keypad to enter
numbers:
789
654
123
/0
28
REMOTE CONTROL
Limitations:
No spaces
Only 1~9, A~Z, a~z characters allowed
ABCDE
FGHIJ
KLMNO
PQRST
UVWXY
Z
A
C
D
E
B
Lowercase
Return
a
c
d
e
b
Return
Rename>
Return
Cancel password
Menu tree to enter the password
5. The password appears on the bottom of the
screen as it is created.
Password
6.Press
Enter
to confirm setting the password.
Hi SLIP Port
7.Press
System
>More[F7]>RmtInterface
Config[F1]>LAN[F2] >HiSLIPPort to see the Hi
Slip Port number.
HiSlip port
4880
29
GSP-9300 Programming Manual
Reset LAN
It may be necessary to reset the LAN
configuration settings before the LAN can be
used.
8. Press
System
>More[F7]>RmtInterface
Config[F1]>LAN Reset[F3] to reset the LAN.
9. The GSP-9300 will now automatically reboot.
Note
Each time the LAN is reset, the default
password is restored.
Default password: lxiWNpwd
Background
To use the GSP-9300 as a server using a 3G
modem, you must first obtain a fixed IP address
from a network provider. Each provider will
assign different fixed IP addresses.
WLAN
configuration
Settings
IP Address
Default Gateway
Subnet Mask
DNS Server
Configure the WLAN Interface
The WLAN settings operate using any standard 3G USB modem.
For remote locations, using a 3G modem allows you to access the
GSP-9300 web server or to control the GSP-9300 via remote control
commands.
30
REMOTE CONTROL
Connection
Connect the 3G USB modem to the front panel
USB A port.
The 3G status icon will appear when the 3G
USB adapter is connected. When it is first
connected it will be grayed-out to indicate that
it is connected but not activated.
GSP
3G USB Adapter
USB A
PORT
Settings
1. Insert the 3G USB modem into the front panel
USB A port and wait for the 3G USB icon to
appear.
2. Press
System
>More[F7]>RmtInterface[F1]>
LAN[F2]>WLAN Config[F2]>Apply[F6] and wait
for the 3G USB modem to establish the WLAN
settings.
“Finish‼”, is shown when the configuration is
complete.
3. The network settings will be displayed in the
System menu icons.
31
GSP-9300 Programming Manual
WLAN settings
Display Icon
The 3G USB icon turns green when a
successful connection has been made.
Set Password
The password on the LXI webpage can be set
from the spectrum analyzer. The password is
shown in the system information.
By default the password is set to: lxiWNpwd
4. Press
System
>More[F7]>RmtInterface
Config[F1]>LAN[F2]>LXIPassword[F3] to set
the password.
5. Enter the password using the
F1~F7 keys, as shown below, or use
the numeric keypad to enter
numbers:
789
654
123
/0
Limitations:
No spaces
Only 1~9, A~Z, a~z characters allowed
32
REMOTE CONTROL
ABCDE
FGHIJ
KLMNO
PQRST
UVWXY
Z
A
C
D
E
B
Lowercase
Return
a
c
d
e
b
Return
Rename>
Return
Cancel password
Menu tree to enter the password
6. The password appears on the bottom of the
screen as it is created.
Password
7.Press
Enter
to confirm setting the password.
Hi SLIP Port
8.Press
System
>More[F7]>RmtInterface
Config[F1]>LAN[F2] >HiSLIPPort to see the Hi
Slip Port number.
HiSlip port
4880
33
GSP-9300 Programming Manual
Reset LAN
It may be necessary to reset the LAN
configuration settings before the LAN can be
used.
9. Press
System
>More[F7]>RmtInterface
Config[F1]>LAN Reset[F3] to reset the LAN.
10. The GSP-9300 will now automatically reboot.
Note
Each time the LAN is reset, the default
password is restored.
Default password: lxiWNpwd
34
REMOTE CONTROL
Background
The RS232C interface is used for remote control
with a PC.
RS232C
Configuration
settings
Baud Rate
Stop bit: 1 (fixed)
Parity: none (fixed)
Data bit: 8 (fixed)
Connection
Connect an RS232C cable from
the PC to the rear panel RS232
port.
1. Press
System
>More[F7]>RmtInterface
Config[F1]>RS232 BaudRate[F4] toset the baud
rate.
300
600
1200
2400
4800
9600
19200
38400
57600
115200
Functionality
check
Invoke a terminal application such as Realterm.
To check the COM port No, see the Device
Manager in the PC. For WinXP; Control panel
→ System → Hardware tab.
Run this query command via the terminal after
the instrument has been configured for RS232
remote control (page 35).
*idn?
This should return the Manufacturer, Model
Configure RS232C
RS232C Remote Control Function Check
35
GSP-9300 Programming Manual
number, Serial number, and Firmware version
in the following format.
GWINSTEK,GSP9300,XXXXXXXX,T.X.X.X.X
Manufacturer: GWINSTEK
Model number : GSP9300
Serial number : XXXXXXXX
Firmware version : T.X.X.X
Note
For further details, please see the programming
manual, available on the GW Instek web site @
www.gwinstek.com.
36
REMOTE CONTROL
Functionality
check
Enter the IP address of the spectrum analyzer in
a web browser after the instrument has been
configured and connected to the LAN (page 27)
or WLAN (page 30).
http:// XXX.XXX.XXX.XXX
The web browser interface appears:
Welcome Page
The Welcome Page lists all the LXI and
LAN/WLAN configuration settings as well as
the instrument identification. The instrument
identification can be disabled from this page.
Note
The LXI icon on the GSP-9300 display will
flash when the Identification setting is
turned on.
LXI Browser Interface and Function Check
37
GSP-9300 Programming Manual
View & Modify
Configuration
The View & Modify Configuration allows you
to modify the LAN settings from the browser.
Press the Modify Configuration button to modify
any of the configuration files.
A password must be entered to alter the
settings.
Default password: lxiWNpwd
[Note: password is case sensitive.]
Note
If the “Factory Defaults” option is chosen, the
password will be reset back to the default
password
It will also be necessary to manually reset the
spectrum analyzer when a message prompts you
to do so on the web browser.
38
REMOTE CONTROL
SCPI Command
The SCPI Command page allows you to enter
SCPI commands directly from the browser for
full remote control. Please see the programming
manual for details. A password must be
entered before remote commands can be used.
Default password: lxiWNpwd
[Note: password is case sensitive.]
Get Image
The Get Image page allows the browser to
remotely capture a screenshot of the GSP-9300
display.
Note
For further details, please see the programming
manual, available on the GW Instek web site @
www.gwinstek.com.
39
GSP-9300 Programming Manual
Background
To test the GPIB functionality, National
Instruments Measurement and Automation
Explorer can be used. This program is available
on the NI website, www.ni.com., via a search
for the VISA Run-time Engine page, or
that now appears in the System>Devices and Interfaces > “GPIBX”>”Instrument X” node.
5. Click on the VISA Properties tab on the bottom.
6. Click Open Visa Test Panel.
4
5
6
41
GSP-9300 Programming Manual
7. Click on Configuration.
8. Click on the GPIB Settings tab and confirm that
the GPIB settings are correct.
7
8
9. Click on the I/O Settings tab.
10. Make sure the Enable Termination Character
check box is checked, and the terminal
character is \n (Value: xA).
11. Click Apply Changes.
10
9
11
12. Click on Input/Output.
13. Click on the Basic/IO tab.
42
REMOTE CONTROL
14. Enter *IDN? in the Select or Enter Command drop
down box.
15. Click Query.
16. The *IDN? query will return the Manufacturer,
model name, serial number and firmware
version in the dialog box.
GWINSTEK,GSP9300,ENXXXXXX,TX.X.X.X
12
13
15
14
16
43
GSP-9300 Programming Manual
Background
To test the USB functionality, National
Instruments Measurement and Automation
Explorer can be used. This program is available
on the NI website, www.ni.com., via a search
for the VISA Run-time Engine page, or
“downloads” at the following URL,
http://www.ni.com/visa/
In addition the IVI driver for the GSP-9300
must also be downloaded. The IVI driver can
also be downloaded from the NI website with a
search for the GSP-9300 in the thirdparty
drivers section.
http://www.ni.com/downloads/instrumentdrivers/
Requirements
Operating System: Windows XP, 7, 8
USB Function Check
44
REMOTE CONTROL
Functionality
check
1. Set the Remote interface to USB, see page 26.
2. From the Windows Device Manager sure the
IVI driver recognizes the USB connection. The
GSP-9300 will be recognized as a USB Test and
Measurement device (IVI) when the connection
is successful.
If the connection is not recognized, reinstall the
IVI driver and set the interface to USB again.
To access the Device Manager in Windows 7:
Start>Control Panel>Hardware and Sound>Device
Manager
the System>Devices and Interfaces > GSP9300“USBX…” node.
5. Click on the VISA Properties tab on the bottom.
6. Click Open Visa Test Panel.
4
5
6
46
REMOTE CONTROL
7. Click on the I/O Settings tab.
8. Make sure the Enable Termination Character
check box is checked, and the terminal
character is \n (Value: xA).
9. Click Apply Changes.
8
7
9
10. Click on Input/Output.
11. Click on the Basic/IO tab.
12. Enter *IDN? in the Select or Enter Command drop
down box.
13. Click Query.
14. The *IDN? query will return the Manufacturer,
model name, serial number and firmware
version in the dialog box.
GWINSTEK,GSP9300,ENXXXXXX,TX.X.X.X
47
GSP-9300 Programming Manual
10
11
13
12
14
48
REMOTE CONTROL
Compatible
Standard
IEEE488.2
Full compatibility
SCPI, 1999
Full compatibility
Command
Structure
SCPI (Standard Commands for Programmable
Instruments) commands follow a tree-like
structure, organized into nodes. Each level of
the command tree is a node. Each keyword in a
SCPI command represents each node in the
command tree. Each keyword (node) of a SCPI
command is separated by a colon (:).
For example, the diagram below shows an SCPI
sub-structure and a command example.
:CALCulate
CTB
STATe?
RESult?
STATe
ON
:CALCulate:CTB:STATe:ON
OFF
Command types
There are a number of different instrument
commands and queries. A command sends
instructions or data to the unit and a query
receives data or status information from the
unit.
Command types
Simple
A single command
with/without a parameter
Example
*RST
Command Syntax
49
GSP-9300 Programming Manual
Query
A query is a simple or
compound command
followed by a question mark
(?). A parameter (data) is
returned.
Example
CALCulate:CSO:STATe?
Compound
Two or more commands on
the same command line.
Compound commands are
separated with either a semicolon (;) or a semi-colon and a
colon (;:).
A semi-colon is used to join
two related commands, with
the caveat that the last
command must begin at the
last node of the first
command.
A semi-colon and colon are
used to combine two
commands from different
nodes.
Example
calc:ctb:stat on;result?
50
REMOTE CONTROL
Command Forms
Commands and queries have two different
forms, long and short. The command syntax is
written with the short form of the command in
capitals and the remainder (long form) in lower
case.
The commands can be written in capitals or
lower-case, just so long as the short or long
forms are complete. An incomplete command
will not be recognized.
Commands that contain square brackets
indicate that the contents are optional. The
function of the command is the same with or
without the square bracketed items, as shown
below.
Both “:OUTPut[:STATe]?” and “:OUTPut?” are
both valid forms.
Command
Format
2 , fil enam e.co r
12 3 45
:MMEMory:LOAD:CORRection
1. Command header
2. Space
3. Parameter 1
4. Comma (no space
before/after comma)
5. Parameter 2
51
Common
Input Parameters
Type
Description
Example
<Boolean>
Boolean logic
0, 1
<NR1>
integers
0, 1, 2, 3
<NR2>
decimal
numbers
0.1, 3.14, 8.5
<NR3>
floating point
4.5e-1, 8.25e+1
<NRf>
any of NR1, 2, 3
1, 1.5, 4.5e-1
<freq>
Input:
<NRf> + unit
2.5 mhz
Unit = kHz, MHz, GHz.
Note: The unit can be omitted
(unit defaults to Hz).
Return:
<NR3>
2.5e+5
Note: Units = Hz.
<limit num>
<NR1>
<point>
<NR1>
<offset>
Input:
<NRf> + unit
30 db
Note: The unit can be omitted
(unit defaults to dB).
Return:
<NR3>
3.0e+1
Note: Units = dB.
<rel_ampl>
Input:
<NRf> + unit
20 db
Note: The unit can be omitted
(unit defaults to dB).
Return:
<NR3>
2.0e+1
GSP-9300 Programming Manual
52
REMOTE CONTROL
Note: Units = dB.
<ampl>
Input:
NR3 +unit type
30 mv
Note: The unit can be omitted.
(Unit defaults to current y-axis
unit).
Return:
<NR3>
3.0e-2
Note: Units = current y axis unit.
<trace name>
<NR1>
trace1
<time>
Input:
<NR3> + unit
2.3e-6 ms
Unit = ms, ns, ps, ks
Note: The unit can be omitted
(unit defaults to seconds).
Return:
<NR3>
3.0e-2
Note: Units = seconds.
<ip address>
<String>
172.16.20.20
Message
Terminator
LF
Line feed code (0x0A)
53
GSP-9300 Programming Manual
Description
The status registers are used to determine the
status of the spectrum analyzer. The status
registers maintain the status of the pass/fail
limits, trigger status and other operation
statuses.
The status registers are arranged in a number of
groups:
Questionable Status Registers
Standard Event Status Registers
Operation Status Registers
Status Byte Register
Service Request Enable Register
Error/Event Queue
Output Buffer
Status Registers
Status Registers Overview
54
REMOTE CONTROL
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
3rd Lower
Fail
Not used
0
3rd Upper
Fail
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
Offset 1
Lower Fail
Offset 1
Upper Fail
Offset 2
Lower Fail
Offset 2
Upper Fail
Offset 3
Lower Fail
Offset 3
Upper Fail
Offset 4
Lower Fail
Offset 4
Upper Fail
Offset 5
Lower Fail
Offset 5
Upper Fail
Not used
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
Main Channel
Low Fail
Main Channel
High Fail
Adj1 Low
Fail
Adj1 High
Fail
Adj2 Low
Fail
Adj2 High
Fail
Adj3 Low
Fail
Adj3 High
Fail
Not used
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
Sweeping
Measuring
Wait for
trigger
Not used
Not used
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
Invalid
span of BW
Not used
Not used
Status Byte
Register
7
6
5
4
3
2
1
0
Error/Event
Summary
MAV
Status:
Questionable
RQS/MSS
ESB
Status:
Operation
&
&
&
&
&
&
&
&
Not used
Output Buffer
Error/Event
Queue
Questionable
Status ACP Limit
Register
Questionable
Status SEM
Limit Register
Questionable
Status TOI Limit
Register
Questionable
Status
Frequency
Register
Operation Status
Register
+
Service Request
Enable Register
7
6
5
4
3
2
1
0
Standard Event
Register
7
6
5
4
3
2
1
0
&
&
&
&
&
&
&
&
+
Standard Event
Status Enable
Register
7
6
5
4
3
2
1
0
Query Error
Execution
Error
Device
dependent error
User
Request
Command
error
Power on
Request
control
Operation
complete
+
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
FM Fail
Not used
0
AM Fail
Questionable
Status Demod
Fail Register
++++++
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
Frequency
Limit Fail
Uncal
ACP Limit
SEM Limit
TOI Limit
Pmet Limit
Fail
2FSK Fail
Not used
Not used
Questionable
Status Register
Demod Fail
55
GSP-9300 Programming Manual
Status Register
Structure
Each status register (excluding the status byte
register) is divided into a number of register
structures:
The condition registers report the state of the
GSP-9300. Condition registers can only be read.
PTR Registers
The positive transistion registers are used to
filter for events that occur from a negative to a
positive transition.
NTR Registers
The negative transition registers are used to
filter for events that occur from a positive to
negative transistion.
Event Registers
The PTR/NTP registers dictate the type
transistion conditions that will set the
corresponding bits in the event registers. The
event registers can only be read. Reading an
event register will clear it.
Event Enable
Registers
The event enable registers determine which
events in the corresponding event registers will
set the summary bits in a higher-order register.
56
REMOTE CONTROL
0
:
:
15
Condition
Register
1
0
:
:
15
PTR /
NTR
1
0
:
:
15
Event
Register
1
0
:
:
15
Enable
Register
1
+
To higher
order register
&
::
&
&
&
&
&
&
&
&
&
Overview
The Status Byte register consolidates the status
events of all the status registers. The Status Byte
register can be cleared with the *CLS command.
Any bits set in the Status byte register acts as a
summary register for all the other status
registers and indicates if there is a service
request, an error in the Error Queue or data in
the Output Queue. Reading the Status Byte
register will reset the register to 0.
The Service Request Enable Register controls
which bits in the Status Byte Register are able to
generate service requests.
Bit Summary
Bit
Weight
Description
2 4 Error/Event Queue Summary bit: This
bit is set when there is a message in the
error queue.
3 8 Questionable Status Summary Bit: This
is the summary bit for the Questionable
Status Register.
4
16
MAV: This bit is set when there is a
message in the output queue.
Status Byte Register (STB)
57
GSP-9300 Programming Manual
5
32
ESB: This is the summary bit for the
Standard Event Register.
6
64
MSS/RQS: The MSS bit is the summary
bit for the Service Request Enable
Register. The RQS bit is set to 1 when
the MSS bit is set to 1.
7
128
Operation Status Summary Bit: This is
the summary bit for the Operation
Status Register.
Overview
The Standard Event Status Register Group
indicates if any errors have occurred or fail
limits tripped. Reading this register will clear
the register.
Bit Summary
Bit
Weight
Description
2 4 Query Error: When a query error has
occurred, this bit is set to 1.
3 8 Device-Specific Error: When a device
dependent error has occurred, this bit is
set to 1.
4
16
Execution Error: When an execution
error has occurred, this bit is set to 1.
5
32
Command Error: When a command
error has occurred, this bit is set to 1.
6
64
User Request: When a panel key is
pressed, this bit is set to 1.
7
128
Power On: When the instrument is
turned off on, this bit is set to 1.
Standard Event Status Register (ESR)
58
REMOTE CONTROL
Overview
The Operation Status Register Group indicates
the operating status of the GSP-9300.
Bit Summary
Bit
Weight
Description
3 8 Sweeping: Indicates that a sweep is in
progress.
4
16
Measuring: The instrument is currently
performing a measurement.
5
32
Waiting for Trigger: The instrument is in
a “wait for trigger” state.
Overview
The Questionable Status Register Group
indicates if any limits have been tripped.
Bit Summary
Bit
Weight
Description
5
32
Frequency Status Summary Bit: This is
the summary bit of the Frequency Status
Register.
8
256
Uncal: This bit is set when a signal level
occurs because the sweep is too fast.
9
512
Limit fail: This bit is set to 1 when the
limit line has been violated.
10
1024
ACP Limit Status Summary Bit: This is
the summary bit for the ACP Limit
Status Register.
11
2048
SEM Limit Status Summary Bit: This is
the summary bit for the SEM Limit
Status Register.
12
4096
TOI Limit Status Summary Bit: This is
the summary bit for the TOI Limit
Status Register.
13
8192
Pmet Limit Fail: This bit is set to 1 when
the power meter limit has been violated.
Operation Status Register
Questionable Status Register
59
GSP-9300 Programming Manual
14
16384
2FSK Fail: This bit is set to 1 when the
2FSK fail conditions are met.
15
32768
Demod Fail: This is the summary bit for
the Demod Fail Register.
60
REMOTE CONTROL
Overview
The Questionable Status Frequency Register
indicates if the span or BW settings are invalid.
Bit Summary
Bit
Weight
Description
5
32
Invalid Span or BW: This bit is set to 1
when there is an invalid span or
bandwidth (setting) during the
frequency count.
Overview
The Questionable Status ACP Limit Register
Group indicates if any adjacent channel limits
have been tripped.
Bit Summary
Bit
Weight
Description
0 1 Main Channel High Fail: This bit is set
to 1 when the Main CH HLimit has been
violated.
1 2 Main Channel Low Fail: This bit is set to
1 when the Main CH LLimit has been
violated.
2 4 Adj1 High Fail: This bit is set to 1 when
the ADJCH 1 HLimit has been violated.
3 8 Adj1 Low Fail: This bit is set to 1 when
the ADJCH 1 LLimit has been violated.
4
16
Adj2 High Fail: This bit is set to 1 when
the ADJCH 2 HLimit has been violated.
5
32
Adj2 Low Fail: This bit is set to 1 when
the ADJCH 2 LLimit has been violated.
6
64
Adj3 High Fail: This bit is set to 1 when
the ADJCH 3 HLimit has been violated.
7
128
Adj3 Low Fail: This bit is set to 1 when
the ADJCH 3 LLimit has been violated.
Questionable Status Frequency Register
Questionable Status ACP Limit Register
61
Questionable Status SEM Limit Register
Overview
The Questionable Status SEM Limit Register
Group indicates if any of the SEM offset limits
have been tripped.
Bit Summary
Bit
Weight
Description
0 1 Offset 1 Upper Fail: This bit is set to 1
when the SEM Offset 1 upper limit has
been violated.
1 2 Offset 1 Lower Fail: This bit is set to 1
when the SEM Offset 1 lower limit has
been violated.
2 4 Offset 2 Upper Fail: This bit is set to 1
when the SEM Offset 2 upper limit has
been violated.
3 8 Offset 2 Lower Fail: This bit is set to 1
when the SEM Offset 2 lower limit has
been violated.
4
16
Offset 3 Upper Fail: This bit is set to 1
when the SEM Offset 3 upper limit has
been violated.
5
32
Offset 3 Lower Fail: This bit is set to 1
when the SEM Offset 3 lower limit has
been violated.
6
64
Offset 4 Upper Fail: This bit is set to 1
when the SEM Offset 4 upper limit has
been violated.
7
128
Offset 4 Lower Fail: This bit is set to 1
when the SEM Offset 4 lower limit has
been violated.
8
256
Offset 5 Upper Fail: This bit is set to 1
when the SEM Offset 5 upper limit has
been violated.
9
512
Offset 5 Lower Fail: This bit is set to 1
when the SEM Offset 5 lower limit has
been violated.
GSP-9300 Programming Manual
62
REMOTE CONTROL
Overview
The Questionable Status TOI Limit Register
Group indicates if the 3rd Order Upper or
Lower limit has been tripped.
Bit Summary
Bit
Weight
Description
0 1 3rd Upper Fail: This bit is set to 1 when
the 3rd Order Upper limit has been
tripped.
1 2 3rd Lower Fail: This bit is set to 1 when
the 3rd Order Lower limit has been
tripped.
Overview
The Questionable Status Demod Fail Register
Group indicates if pass/fail limit has been
tripped for either AM or FM analysis.
Bit Summary
Bit
Weight
Description
0 1 AM Fail: This bit is set to 1 when the
limit has been tripped for AM depth,
carrier offset or carrier power.
1 2 FM Fail: This bit is set to 1 when the
limit has been tripped for FM frequency
deviation, carrier offset or carrier power.
The *CLS command clears the Standard Event
Status, Operation Status and Questionable Status
registers. The corresponding Enable registers in
each of the above registers are not cleared.
If a <NL> newline code immediately precedes a
*CLS command, the Error Que and the MAV bit in
the Status Byte Register is also cleared.
Syntax
*CLS
*IDN?
Query
Description
Queries the manufacturer, model number, serial
number, and firmware version of the instrument.
Query Syntax
*IDN?
SCPI Commands
74
REMOTE CONTROL
Return parameter
<string>
Returns the instrument identification as a
string in the following format:
GWINSTEK,GSP-9300,XXXXXXXX,T.X.X.X.X
Manufacturer: GWINSTEK
Model number : GSP-9300
Serial number : XXXXXXXX
Firmware version : T.X.X.X.X
*ESE
Set
Query
Description
Sets or queries the Standard Event Status Enable
register.
Syntax
Query Syntax
*ESE <NR1>
*ESE?
Parameter
<NR1>
0~255
Return parameter
<NR1>
Returns the bit sum of the Standard Event
Status Enable register.
*ESR?
Query
Description
Queries the Standard Event Status register. The
Event Status register is cleared after it is read.
Query Syntax
*ESR?
Return parameter
<NR1>
Returns the bit sum of the Standard Event
Status register and clears the register.
*OPC
Set
Query
Description
The *OPC command sets the OPC bit (bit0) of the
Standard Event Status Register when all current
commands have been processed.
The *OPC? Query returns 1 when all the
outstanding commands have completed.
75
GSP-9300 Programming Manual
Syntax
Query Syntax
*OPC
*OPC?
Return parameter
1
Returns 1 when all the outstanding
commands have completed.
*RST
Set
Description
*RST will perform a factory reset.
Syntax
*RST
*SRE
Set
Query
Description
Sets or queries the Service Request Enable register.
The Service Request Enable register determines
which registers of the Status Byte register are able
to generate service requests.
Syntax
*SRE <NR1>
Query Syntax
*SRE?
Parameter
<NR1>
0~255
Return parameter
<NR1>
Returns the bit sum of the Service Request
Enable register.
*STB?
Query
Description
Queries the bit sum of the Status Byte register with
MSS (Master summary Status).
Query Syntax
*STB?
Return parameter
<NR1>
Returns the bit sum of the Status Byte register
with the MSS bit (bit 6).
*TST?
Query
Description
Returns the result of a self-test. The GSP-9300 does
not support performing a selftest and thus will
always return “0” for this query.
76
REMOTE CONTROL
Query Syntax
*TST?
Return parameter
0
Returns “0”
*WAI
Set
Description
Prevents any other commands or queries from
being executed until all outstanding commands
have completed.
Returns the ACPR upper limit pass/fail judgment
for the selected adjacent channel.
Query Syntax
:CALCulate:ACPR:ACHannel<n>:HLIMit:FAIL?
Parameter
<n>
<NR1>adjacent channel 1~3
Return parameter
0
<boolean>Pass
1 <boolean>Fail
79
GSP-9300 Programming Manual
Query Example
:CALC:ACPR:ACH1:HLIM:FAIL?
>0
:CALCulate:ACPR:ACHannel<n>:LLIMit:
FAIL?
Query
Description
Returns the ACPR lower limit pass/fail judgment
for the selected adjacent channel.
Query Syntax
:CALCulate:ACPR:ACHannel<n>:LLIMit:FAIL?
Parameter
<n>
<NR1>adjacent channel 1~3
Return parameter
0
<boolean>Pass
1 <boolean>Fail
Query Example
:CALC:ACPR:ACH1:LLIM:FAIL?
>0
:CALCulate:ACPR:ACHannel<n>:LOWer?
Query
Description
Returns the ACPR (adjacent channel power ratio in
dB) calculated for the selected lower adjacent
channel.
Query Syntax
:CALCulate:ACPR:ACHannel<n>:LOWer?
Parameter
<n>
<NR1>adjacent channel 1~3
Return parameter
<NR3>
Power ratio in dB
Query Example
:CALC:ACPR:ACH1:LOW?
>1.801e+01
:CALCulate:ACPR:ACHannel<n>:UPPer?
Query
Description
Returns the ACPR (adjacent channel power ratio in
dB) calculated for the selected higher adjacent
channel.
Query Syntax
:CALCulate:ACPR:ACHannel<n>:UPPer?
80
REMOTE CONTROL
Parameter
<n>
<NR1>adjacent channel 1~3
Return parameter
<NR3>
Power ratio in dB
Query Example
:CALC:ACPR:ACH1:UPP?
>1.921e+01
:CALCulate:ACPR:ACHannel<n>:STATe
Set
Query
Description
Sets or queries the state of the selected adjacent
channel.
Syntax
:CALCulate:ACPR:ACHannel<n>:STATe {OFF|ON|0|1}
Query Syntax
:CALCulate:ACPR:ACHannel<n>:STATe?
Parameter
<n>
<NR1>adjacent channel 1~3
0 Disable the selected channel.
1 Enable the selected channel.
OFF
Disable the selected channel.
ON
Enable the selected channel.
Return parameter
0
The selected channel is disabled.
1 The selected channel is enabled.
Query Example
:CALC:ACPR:ACH1:STAT?
>1
:CALCulate:ACPR:CHANnel:HLIMit:FAIL?
Query
Description
Returns the ACPR upper limit pass/fail judgment
for the main channel. A pass indicates that every
trace point in the main channel is lower than or
equal to the uppder limit.
Query Syntax
:CALCulate:ACPR:CHANnel:HLIMit:FAIL?
Return parameter
0
<boolean>Pass
1 <boolean>Fail
Query Example
:CALC:ACPR:CHAN:HLIM:FAIL?
>0
81
GSP-9300 Programming Manual
:CALCulate:ACPR:CHANnel:LLIMit:FAIL?
Query
Description
Returns the ACPR lower limit pass/fail judgment
for the main channel. A pass indicates that every
trace point in the main channel is higher than or
equal to the lower limit.
Query Syntax
:CALCulate:ACPR:CHANnel:LLIMit:FAIL?
Return parameter
0
<boolean>Pass
1 <boolean>Fail
Query Example
:CALC:ACPR:CHAN:LLIM:FAIL?
>0
:CALCulate:ACPR:CHPower?
Query
Description
Returns the ACPR main channel power in the
current chosen unit.
Query Syntax
:CALCulate:ACPR:CHPower?
Return parameter
<NR3>
Power
Query Example
:CALC:ACPR:CHP?
>-1.028e+02
:CALCulate:ACPR:STATe
Set
Query
Description
Sets or queries the state of the ACPR measurement
function.
Syntax
:CALCulate:ACPR:STATe {OFF|ON|0|1}
Query Syntax
:CALCulate:ACPR:STATe?
Parameter
0
ACPR is disabled.
1 ACPR is enabled.
OFF
ACPR is disabled.
ON
ACPR is enabled.
82
REMOTE CONTROL
Return parameter
0
ACPR is disabled.
1 ACPR is enabled.
Query Example
:CALC:ACPR:STAT?
>1
:CALCulate:BFSK:STATe
Set
Query
Description
Sets or queries the state of the BFSK measurement
function.
Syntax
:CALCulate:BFSK:STATe {OFF|ON}
Query Syntax
:CALCulate:BFSK:STATe?
Parameter
OFF
BFSK is disabled.
ON
BFSK is enabled.
Return parameter
0
BFSK is disabled.
1 BFSK is enabled.
Query Example
:CALC:BFSK:STAT?
>1
:CALCulate:BFSK:RESTart
Set
Description
Restarts the BFSK measurement.
Syntax
:CALC:BFSK:REST
:CALCulate:BFSK:RESult?
Query
Description
Returns the BFSK measurement result.
Query Syntax
:CALCulate:BFSK:RESult?
Return parameter
<freq deviation>,<carrier offset>
<freq deviation>
Frequency deviation in NRf format
<carrier offset>
Carrier offset in NRf format
Query Example
:CALC:BFSK:RES?
>4.416666667e+04,4.416666667e+04
83
GSP-9300 Programming Manual
:CALCulate:CNR:RESult?
Query
Description
Returns the CNR measurement result in dB.
Query Syntax
:CALCulate:CNR:RESult?
Return parameter
<NR3>
CNR measurement in dB
Query Example
:CALC:CNR:RES?
>-4.959e+01
:CALCulate:CNR:STATe
Set
Query
Description
Sets or queries the state of the CNR measurement
function.
Syntax
:CALCulate:CNR:STATe {ON|OFF|1|0}
Query Syntax
:CALCulate:CNR:STATe?
Parameter
0
CNR is off.
1 CNR is on.
OFF
CNR is off.
ON
CNR is on.
Return parameter
0
CNR is off.
1 CNR is on.
Query Example
:CALC:CNR:STAT?
>1
:CALCulate:CSO:RESult?
Query
Description
Returns the CSO measurement result in dB.
Query Syntax
:CALCulate:CSO:RESult?
Return parameter
<NR3>
CSO measurement in dB
Query Example
:CALC:CSO:RES?
>4.04e+00
84
REMOTE CONTROL
:CALCulate:CSO:STATe
Set
Query
Description
Sets or queries the state of the CSO measurement
function.
Syntax
:CALCulate:CSO:STATe {ON|OFF|1|0}
Query Syntax
:CALCulate:CSO:STATe?
Parameter
0
CSO is off.
1 CSO is on.
OFF
CSO is off.
ON
CSO is on.
Return parameter
0
CSO is off.
1 CSO is on.
Query Example
:CALC:CSO:STAT?
>1
:CALCulate:CTB:RESult?
Query
Description
Returns the CTB measurement result in dB.
Query Syntax
:CALCulate:CTB:RESult?
Return parameter
<NR3>
CTB measurement in dB
Query Example
:CALC:CTB:RES?
>-4.237e+01
:CALCulate:CTB:STATe
Set
Query
Description
Sets or queries the state of the CTB measurement
function.
Syntax
:CALCulate:CTB:STATe {ON|OFF|1|0}
Query Syntax
:CALCulate:CTB:STATe?
Parameter
0
CTB is off.
1 CTB is on.
OFF
CTB is off.
85
GSP-9300 Programming Manual
ON
CTB is on.
Return parameter
0
CTB is off.
1 CTB is on.
Query Example
:CALC:CTB:STAT?
>0
:CALCulate:CTB:RESTart
Set
Description
Restarts the CTB measurement.
Syntax
:CALCulate:CTB:RESTart
:CALCulate:DELTamarker<n>:PAIR:SPAN
Set
Description
Sets the span between the chosen marker and the
delta marker.
Syntax
:CALCulate:DELTamarker<n>:PAIR:SPAN <freq>
Parameter
<n>
Marker number.
<freq>
<NRf> frequency of span.
Example
:CALC:DELT1:PAIR:SPAN 1e+9
:CALCulate:DELTamarker<n>:PAIR:CENTer
Set
Description
Takes the current span between the chosen
markers and relocates that center frequency to the
chosen center frequency.
Syntax
:CALCulate:DELTamarker<n>:PAIR:CENTer <freq>
Parameter
<n>
Marker number.
<freq>
<NRf> center frequency.
Example
:CALC:DELT1:PAIR:CENT 1e+9
:CALCulate:DELTamarker<n>:X
Set
Query
Description
Sets or queries the selected delta marker position.
86
REMOTE CONTROL
Syntax
:CALCulate:DELTamarker<n>:X <freq>
Query Syntax
:CALCulate:DELTamarker<n>:X?
Parameter
<n>
Marker number.
Return parameter
<freq>
<NR3> frequency in Hz.
Example
:CALC:DELT1:X?
>1e+9
:CALCulate:DELTamarker<n>:Y?
Query
Description
Returns the selected delta marker Y axis value.
Query Syntax
:CALCulate:DELTamarker<n>:Y?
Parameter
<n>
Marker number.
Return parameter
<rel_ampl>
<NR3> in dB.
Example
:CALC:DELT1:Y?
>-1.032e+1
:CALCulate:DEMod:AM:RESult:CURRent?
Query
Description
Returns the current measurement results for AM
demodulation as a comma separated string.
Selects which limit line is used for the low limit.
Syntax
:CALCulate:LIMit:LOW <limit num>
Parameter
<limit
num>
<NR1> 1~5
Example
:CALC:LIM:LOW 2
:CALCulate:LIMit:HIGH
Set
Description
Selects which limit line is used for the high limit.
Syntax
:CALCulate:LIMit:HIGH <limit num>
Parameter
<limit
num>
<NR1> 1~5
Example
:CALC:LIM:HIGH 2
:CALCulate:LIMit<n>:MARKer
Set
Description
Sets the current marker position to a point on a
limit line. The vertical position of the point is the
marker’s vertical position + a user-defined offset.
Syntax
:CALCulate:LIMit<n>:MARKer <point>,<offset>
Parameter
<point>
<NR1> point 1~10
<offset>
<NR3> dB
<n>
Seleted limit line
Example
:CALC:LIM1:MARK 5, 20
95
GSP-9300 Programming Manual
:CALCulate:LIMit:MODE
Set
Query
Description
Sets or queries the Pass/Fail mode for limit line
testing.
Syntax
:CALCulate:LIMit:MODE {SING|CONT}
Query Syntax
:CALCulate:LIMit:MODE?
Parameter
SING
Stops triggering after a pass/fail result.
CONT
Continues triggering after a pass/fail
result.
Return Parameter
SINGLE
Stops triggering after a pass/fail result.
CONTINUE
Continues triggering after a pass/fail
result.
Example
:CALC:LIM:MODE CONT
:CALCulate:LIMit:STATe
Set
Query
Description
Turns the limit line Pass/Fail test on/off.
Syntax
:CALCulate:LIMit:STATe {ON|OFF|1|0}
Query Syntax
:CALCulate:LIMit:STATe?
Parameter
0
Pass/Fail test is off.
1 Pass/Fail test is on.
OFF
Pass/Fail test is off.
ON
Pass/Fail test is on.
Return parameter
0
Pass/Fail test is off.
1 Pass/Fail test is on.
Example
:CALC:LIM:STAT 1
:CALCulate:LIMit<n>:TRACe
Set
Description
Creates a limit line from the currently selected
trace with a user defined offset.
Syntax
:CALCulate:LIMit<n>:TRACe <offset>
96
REMOTE CONTROL
Parameter
<n>
<NR1> limit line 1~5
<offset>
<NR3> in dB
Example
:CALC:LIM2:TRAC 10
:CALCulate:LIMit:TYPE
Set
Query
Description
Sets or queries the Pass/Fail conditions for the
limit line testing.
Syntax
:CALCulate:LIMit:TYPE {ALL|MAX|MIN}
Query Syntax
:CALCulate:LIMit:TYPE?
Parameter/
Return Parameter
ALL
All-in.
MAX
Max-In
MIN
Min-In
Example
:CALC:LIM:TYPE ALL
:CALCulate:MARKer:AOFF
Set
Description
Turns all the markers off.
Syntax
:CALCulate:MARKer:AOFF
Example
:CALC:MARK:AOFF
:CALCulate:MARKer<n>:FCOunt:
RESolution
Set
Query
Description
Sets or queries the frequency counter resolution in
Hz for the selected marker.
Syntax
:CALCulate:MARKer<n>:FCOunt:RESolution <freq>
Query Syntax
:CALCulate:MARKer<n>:FCOunt:RESolution?
Parameter
<n>
<NR1>Maker number 1~6*.
<freq>
Frequency resolution in Hz**.
97
GSP-9300 Programming Manual
Return parameter
<freq>
Frequency resolution in Hz.
Note
* Only one marker can be selected at a time to use the
marker counter function.
The selected marker counter will disable the
previously selected marker counter.
** Only 1000, 100, 10, 1 Hz are meaningful.
Example
:CALC:MARK1:FCO:RES?
>1.0e+3
:CALCulate:MARKer<n>:FCOunt:
RESolution:AUTO
Set
Query
Description
Sets the frequency counter resolution Auto setting
on/off.