beautypg.com

GW Instek GPT-9900 series User Manual User Manual

Page 118

background image

GPT-9000/9000A Series User Manual

118

Query

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

Example

MANU:ACW:VOLTage?

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

SYSTem:BUZZer:KEYSound
SYSTEM:BUZZER:KEYSOUND
system:buzzer:keysound

Short form

SYST:BUZZ:KEYS
syst:buzz:keys

Command
Format

1

3

2

MANU:STEP 100

1. Command header
2. Space
3. Parameter

Parameters

Type

Description

Example

Boolean logic

0, 1

integers

0, 1, 2, 3

decimal
numbers

0.1, 3.14, 8.5