beautypg.com

Parameter type, Parameter type -6 – RIGOL DS1000B User Manual

Page 12

background image

RIGOL

Programming Introduction

Programming Guide for DS1000B Series

1-6

Parameter Type


The commands contains 5 kinds of parameters, different parameters has different
setting methods.

1. Boolean

The parameter should be “OFF”, “ON”, “0” or “1”. For example:
:DISPlay:PERSist {{1|ON}|{0|OFF}}
“ON” and “1” denotes trun on (enable) the function, “OFF” and “0” denotes turn
off (disable) the fucntion.

2. Consecutive Integer

The parameter should be a consecutive integer. For example:
:DISPlay:BRIGhtness
could be the integer between 0 and 100 (including 0 and 100).


3. Consecutive Real Number

The parameters can be any value only in effective range precision permitting.
For example:
:TRIGger:SENSitivity
could be any value between 0.1 and 1 (including 0.1 and 1).


4. Discrete

The parameters can only be the cited value. For example:
:ACQuire:AVERages
could only be 2, 4, 8, 16, 32, 64, 128, 256.

5. ASCII Character String

The parameter should be composed of ASCII character string. For example:
:TRIGger:MODE
could be EDGE, PULSe, VIDEO, PATTern or ALTernation.