Command introduction, Command syntax, Command introduction -3 – RIGOL DS1000D User Manual

Page 9: Command syntax -3

Advertising
background image

Programming Introduction

RIGOL

Programming Guide for DS1000E, DS1000D Series

1-3

Command Introduction

Command Syntax

The command system of DS1000E, DS1000D series digital oscilloscopes presents a
multiscale tree structure, each of the subsystem consists of a “Root” keyword and one
or multilayered keywords. Generally, a command line starts with “:” (except for IEEE
commands) and “:” is also used for separating different keywords, meanwhile,
parameters are permitted to follow the keywords; in addition, “?” after a command
line denotes to query its function and “space” is used to divide command and
parameter.

For example:
:TRIGger:EDGE:SLOPe {POSitive|NEGative}
:TRIGger:EDGE:SLOPe?

TRIGger is the root keyword of this command, EDGE and SLOPe are second and
third keyword respectively, all of these keywords are separated by “:”. Connects
enclosed in the “{}” denote the parameters permitted to be set by user;

queries are

formed by adding a question mark (?) to the end of the commands and “space” is
used to divide the command :TRIGger:EDGE:SLOPe and the parameter. For the
command with multiple parameters, “,” is generally used for separating the
parameters, for example:
:TRIGger:DURation:PATTern <value>,<mask>

Advertising
This manual is related to the following products: