beautypg.com

Command syntax – GW Instek GSP-830 User Manual User Manual

Page 160

background image

GSP-830 User Manual

160

Command Syntax

The commands are partially compatible with IEEE488.2 (1992) and SCPI
(Standard Commands for Programmable Instrumentation) (1994) standards.
Commands are NON-case sensitive.

Example command

meas:freq:cen _ 9 _ khz

1

2 3 4

5

1: Command Header

2: Single space

3: Parameter1

4: Single space

5: Parameter2

Command Header

Several command header elements (nodes) can be
concatenated to form a complex command.
The above example can be separated into:
meas: (root node) + freq: + cen:

0/1

0 or 1.

Parameter example

1to4

Integer between 1, 2, 3, or 4.

0.01to5

Decimal number between 0.01 and 5.

khz

Unit (non-case sensitive)

Message
Terminator

Marks the end of a command line. Any of the following
is acceptable.

CR^END

Line feed code (hexadecimal 0D) with
END message

CR

Line feed code

^END

Last data byte with END message

Message Separator ; (semicolon)

Command separator.