beautypg.com

GW Instek GSP-730 User Manual User Manual

Page 84

background image

GSP-730 User Manual

82

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

Single
Command

A single command
with/without a parameter

Example

meas:freq:cen 100 MHz

Query

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

Example

meas:freq:cen?

Command
Format

100 khz

1

2

3 4 5

Meas:freq:cen

1. Command header
2. Space
3. Parameter 1

4. Optional space
5. Unit or suffix.

Common
Input/Return
Parameters

Type

Description

Example

Boolean logic

0, 1

integers

0, 1, 2, 3

decimal
numbers

0.1, 3.14, 8.5

any of NR1, 2

1, 1.5