beautypg.com

Command syntax – GW Instek GSP-930 Programming Manual User Manual

Page 37

background image

REMOTE CONTROL

35

Command Syntax

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