Parameter type, Parameter type -4 – RIGOL M300 User Manual

Page 10

Advertising
background image

RIGOL

Chapter 1 Programming Overview

Programming Guide for DM3000

1-4

Parameter Type


1. MIN|MAX|DEF

Usually, MIN, MAX and DEF are used to represent the maximum, minimum and
default values of a parameter. For example, in the command
:MEASure:VOLTage:DC

{0|1|2|3|4|MIN|MAX|DEF}”,

MIN corresponds to 0, MAX corresponds to 4 and DEF corresponds to 2. For more
details, please refer to :MEASure:VOLTage:DC.

2. Consecutive Integer Parameter

The parameter can be any integer within the effective range. Please do not set
the parameter to a decimal; otherwise, error may occur. For example, in the
command ":SYSTem:DISPlay:BRIGht", the parameter can be any integer
within 0 and 255.


3. Consecutive Real Number Parameter

The parameter can be any value within the effective range according to the
precision requirement. For example, in the command
":CALCulate:NULL:OFFSet", the parameter can hold seven digits after the
decimal point.


4. Discrete Parameter

The parameter should be one of the values listed in the command. For example,
in the command ":MEASure:VOLTage:AC", the parameter can only be 0, 1, 2, 3
or 4.


5. Bool Parameter

The parameter can only be ON (1) or OFF (0). For example, in the command
:SYSTem:BEEPer:STATe, the parameter can only be ON (1) or OFF (0).

6. ASCII Character string

The parameter should be a combination of ASCII characters. For example, in the
command ":SYSTem:CLOCk:DATE, the parameter is a character string in date
format.

Advertising