Parameter type, Command abbreviation, Parameter type -5 – RIGOL DSG3000 Series User Manual

Page 19: Command abbreviation -5

Advertising
background image

Chapter 1 Programming Overview

RIGOL

DSG3000 Programming Guide

1-5

Parameter Type

The parameters of the commands introduced in this manual contains 5 types: bool, integer, real number,

discrete and ASCII string.

1. Bool

The parameter could be OFF, ON, 0 or 1. For example, [:SOURce]:AM:STATe ON|OFF|1|0

2. Integer

Unless otherwise noted, the parameter can be any integer within the effective value range. Note that

do not set the parameter to a decimal; otherwise, errors will occur. For example, in

the :SYSTem:BRIGhtness <value> command, <value> can be any integer from 0 to 7.

3. Real Number

Unless otherwise noted, the parameter can be any real number within the effective value range.

For example, the range of <value> in the [:SOURce]:AM:FREQuency <value> command is from

100mHz to 1MHz.

4. Discrete

The parameter could only be one of the specified values or characters. For example, in the

[:SOURce]:AM:WAVEform SINE|SQUA command, the parameter can be SINE or SQUA.

5. ASCII String

The parameter should be the combinations of ASCII characters. For example, in the :MMEMory:SAVe

<file_name> command, <file_name> is the filename of the file to be saved and can include Chinese

characters (a Chinese character occupies two bytes), English characters and numbers. The filename

cannot exceed 28 bytes.

Command Abbreviation

All the commands are case-insensitive and you can use any of them. If abbreviation is used, all the capital

letters in the command must be written completely. For example, the :MMEMory:DISK:FORMat command

can be abbreviated to :MMEM:DISK:FORM.

Advertising