beautypg.com

GW Instek PSW-Series Programming & Command manual User Manual

Page 50

background image

PSW Series Programming Manual

50

Query

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

Example

meas:curr:dc?

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

meas:volt:dc?;:meas:curr:dc?