beautypg.com

Short fetch:voltage? short long – GW Instek PEL-2000 Series Programming User Manual User Manual

Page 14

background image

PEL-2000 Programming Manual

14

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.

Short

FETCh:VOLTage?

Short

Long

The commands can be written 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 FETCh:VOLTage?

FETCH:VOTAGE?

fetch:voltage?

SHORT FETC:VOLT?

fetc:volt?

Square Brackets

Commands that contain squares brackets indicate
that the contents are optional. The function of the
command is the same with or without the square
bracketed items, as shown below.

Example:
:LOAD[:STATe]

=

:LOAD:STATe

=

:LOAD

Command format

1

2

3

4

:PROGram:CHAin LF

1: command header
2: single space
3: parameter
4: message terminator