beautypg.com

GW Instek AFG-3000 Series User Manual

Page 190

background image

AFG-3000 Series User Manual

190

Command
Format

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

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. Brackets are not sent with the
command.

For example, the frequency query below can use any of
the following 3 forms:
SOURce1:FREQuency? [MINimum|MAXimum]

SOURce1:FREQuency?

MAXimum

SOURce1:FREQuency? MINimum
SOURce1:FREQuency?

Braces {}

Commands that contain braces indicate one item
within the braces must be chosen. Braces are not
sent with the command.

Angled Brackets
<>

Angle brackets are used to indicate that a value
must be specified for the parameter. See the
parameter description below for details. Angled
brackets are not sent with the command.

Bars |

Bars are used to separate multiple parameter
choices in the command format.

Parameters Type

Description Example

Boolean logic

0, 1/ON,OFF

integers

0, 1, 2, 3

decimal numbers 0.1, 3.14, 8.5

floating point

4.5e-1, 8.25e+1

any of NR1, 2, 3 1, 1.5, 4.5e-1