Programming Overview; Scpi Introduction - Rigol DG800 Pro Series Programming Manual

Function/arbitrary waveform generator
Hide thumbs Also See for DG800 Pro Series:
Table of Contents

Advertisement

2

Programming Overview

2.1

SCPI Introduction

SCPI (Standard Commands for Programmable Instruments) is a standardized
instrument programming language that is built upon the existing standard IEEE 488.1
and IEEE 488.2 and conforms to various standards, such as the floating point
operation rule in IEEE 754 standard, ISO 646 7-bit coded character set for information
interchange (equivalent to ASCII programming). The SCPI commands provide a
hierarchical tree structure, and consist of multiple subsystems. Each command
subsystem consists of one root keyword and one or more sub-keywords.
Syntax
The command line usually starts with a colon; the keywords are separated by colons,
and following the keywords are the parameter settings available. The command
ending with a question mark indicates querying a certain function and returns the
query results. The keywords of the command and the first parameter are separated by
a space.
For example,
:COUNter:TYPE <
:COUNter:TYPE?
COUNter is the root keyword of the command, TYPE is the second-level keyword. The
command line starts with a colon, and different levels of keywords are also separated
by colons. <
quotation mark indicates querying a function. The command
keywords :COUNter:TYPE and the parameter <
In some commands with parameters, "," is often used to separate multiple
parameters. For example,
:SYSTem:DATE <
Symbol Description
The following symbols are not sent with the commands.
1. Braces { }
The contents in the braces can contain one or multiple parameters. These
parameters can be omitted or used for several times. Parameters are usually
separated by the vertical bar "|". When using the command, you must select one of
the parameters.
2. Vertical Bar |
Copyright ©RIGOL TECHNOLOGIES CO., LTD. All rights reserved.
type >
type > indicates a settable parameter. The command ending with a
year >,< month >,< day >
Programming Overview
type > are separated by a space.
DG800 Pro/DG900 Pro Programming
Guide
3

Advertisement

Table of Contents
loading

Table of Contents