beautypg.com

GW Instek GFG-3015 User Manual

Page 44

background image

p. 40 GFG-3015

The following Table defines the Boolean and other parameter types for the
GFG-3015.

Parameter
Type

Description

Example

Boolean

Boolean numbers or values

1
0

NR1

Integers

0, 1, 18

NR2

Decimal numbers

1.5, 3.141, 8.4

NR3

Floating point numbers

4.5E-1, 8.25E+1

NRf

NR1, NR2, or NR3

1, 1.5, 4.5E-1

Parameter Types for Syntax Descriptions

For the actual value of the parameter type , you have to enter 0
instead of “OFF” or enter 1 instead of “ON”.
The following example includes both the header and a value for the parameter
type:

:SOURce:TRIGger:STATe 0

The parameter values which appear in this manual are often separated by a
vertical line. This vertical line means the word "or". For example, values for the
parameter are
0|1
This means "0 (off) or 1 (on)", any single value is a valid parameter.

Message Terminator

As there is no signal of end message on RS232 bus, therefore use LF (Line
Feed, 0 × 0A, or ASCII ‘\n’) as message of terminator. When a series of
commands are sent to the instrument, they must add a LF to be a judgment for
message terminator. As for query command, the return message of the
instrument is also added a LF for PC to judge message terminator.

Entering Commands

The standard, which governs the commands setting for the GFG-3015, is
allowed a certain amount of flexibility when you enter commands. For instance,
you can abbreviate many commands or combine commands into one message
to send to the GFG-3015. This flexibility, called friendly listening, saves
programming time and makes the command setting easier to be remembered
and used.

Command Characters

The GFG-3015 is not sensitive to the command characters. You can enter
commands in either uppercase or lowercase.
You can precede any command with white space characters. You must,
however, use at least one space between the parameter and the command
header.