
6.1
SCPI Guide: Introduction
The SCPI Guide describes the data exchange between a GSG unit and a PC. SCPI (pro-
nounced: "skippy") stands for
Standard Commands for Programmable Instruments
.
The SCPI standard describes the syntax of commands widely used to communicate with
programmable instruments. Some of the commands are generic in nature, others are GSG-
specific and may use arguments and parameters.
While the communication channels are not standardized under the SCPI specification, in
case of GSG all of the SCPI commands can be used via any of the available communication
ports, i.e. Ethernet, USB, and GPIB.
E X A M P L E – U s i n g
t h e
E T H p o r t :
GSG can be setup to receive raw SCPI commands through the Ethernet port over TCP port
5025.
In the
Option
Menu, change the connection type from USB or Ethernet to SCPI-RAW. Then
send the SCPI commands to the GSG.
6.2
Protocol
6.2.1
General Format of Commands
The general format of protocol commands follows the SCPI syntax. For example:
SOURce:SCENario:CONTrol start
SOURce:SCENario:CONTrol?
Commands ending with ?-mark are queries. Keywords can be shortened by typing only the
capital letters. Case does not matter. For example:
sour:scen:cont?
If using SCPI-Raw all commands should be terminated with newline "\n". All responses
from GSG are also terminated with newline. Exceptions are commands and responses
where the length of data is inside the command/response. These are
SOURce:FILe:data
command and response to
MMEMory:DATA?
query. Some commands, such as
sour:s-
cen:log?
and
sour:scen:advlog?
imply multiline responses. When a multiline response
is not empty, each line of data is terminated with a newline symbol. Additionally, multiline
224
User Manual GSG-5/6 Series Rev. 27
6.1 SCPI Guide: Introduction
Summary of Contents for GSG-5 Series
Page 2: ......
Page 4: ...Blank page II User Manual GSG 5 6 Series...
Page 42: ...BLANK PAGE 2 5 Signal Power Level Considerations 26 User Manual GSG 5 6 Series Rev 27...
Page 382: ...BLANK PAGE 6 7 Revision History SCPI Guide 366 User Manual GSG 5 6 Series Rev 27...