beautypg.com

GW Instek GDM-8300 series User Manual User Manual

Page 107

background image

COMMAND OVERVIEW

107

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:VOLTage:DC

Query

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

Example

CONFigure:RANGe?

Command Forms

Commands and queries have two different
forms, long and short. The command syntax is
written with the short form of the command in
capitals and the remainder (long form) in lower
case.
The commands can be written either in capitals
or lower-case, just so long as the short or long
forms are complete. An incomplete command
will not be recognized.
Below are examples of correctly written
commands.

Long form

CONFigure:DIODe
CONFIGURE:DIODE
Configure:diode