beautypg.com

GW Instek GSP-930 Programming Manual User Manual

Page 38

background image

GSP-930 Programming Manual

36

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 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
nodes.

Example

calc:ctb:stat on;result?