beautypg.com

GW Instek PEL-3000 Series Programming Manual User Manual

Page 19

background image

COMMNAND OVERVIEW

17

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

:CONFigure:RESPonse MAX

Query

A query is a simple or
compound command
followed by a question mark
(?). A parameter (data) is
returned.

Example

:CONFigure:RESPonse?

Compound

Two or more commands on
the same command line.
Compound commands are
separated with either a semi-
colon (;) 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