Symbol description, Parameter type, Symbol description -4 – RIGOL DP832A User Manual

Page 14: Parameter type -4

Advertising
background image

RIGOL

Chapter 1 Programming Overview

1-4

DP800 Programming Guide

keywords :SYSTem:COMMunicate:LAN:IPADdress and parameter <ip> are separated by a space. "?"

represents query.

"," is generally used for separating multiple parameters contained in the same command, for example,

:DELAY:PARAmeter <secnum>,{ON|OFF},<time>

Symbol Description

The following four symbols are not the content of SCPI commands and will not be sent with the commands.

They are usually used to describe the parameters in the commands.

1 Braces { }

Usually, multiple optional parameters are enclosed in the braces and one of the parameters must be

selected when sending the command. For example, :DISPlay:MODE {NORMal|WAVE|DIAL}.

2 Vertical Bar |

The vertical bar is used to separate multiple parameters and one of the parameters must be selected

when sending the command. For example, :DISPlay:MODE {NORMal|WAVE|DIAL}.

3 Square Brackets [ ]

The content (command keyword) enclosed in the square brackets can be omitted. When the

parameter is omitted, the instrument will set the parameter to its default. For example, for

the :MEASure[:VOLTage][:DC]? command, sending any of the four commands below can achieve the

same effect.

:MEASure?

:MEASure:DC?

:MEASure:VOLTage?

:MEASure:VOLTage:DC?

4 Triangle Brackets < >

The parameter enclosed in the triangle brackets must be replaced by an effective value. For example,

send the :ANALyzer:CURRTime <value> command in :ANALyzer:CURRTime 5 form.

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 "ON" (1) or "OFF" (0). For example, :RECorder[:STATe] {ON|OFF}.

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 <brightness> command, <brightness> can be any integer from 0 to 100.

3 Real Number

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

For example, for CH1 of DP831A, the ranges of <volt> and <curr> in the :APPLy CH1,<volt>,<curr>

command are 0.000V to 8.400V and 0.0000A to 5.3000A respectively.

4 Discrete

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

the :ANALyzer:OBJect {V|C|P} command, the parameter can be V, C or P.

Advertising
This manual is related to the following products: