Delay:parameter, Delay:parameter -15 – RIGOL DP832A User Manual

Page 39

Advertising
background image

Chapter 2 Command System

RIGOL

DP800 Programming Guide

2-15

:DELAY:PARAmeter

Syntax

:DELAY:PARAmeter <secnum>,{ON|OFF},<time>
:DELAY:PARAmeter? <firnum>[,<timercount>]

Description

Set the delayer parameters of the specified group.
Query the delayer parameters of the specified groups.

Parameter

Name

Type

Range

Default

<secnum>

Integer

0 to 2047

None

{ON|OFF}

Bool

ON|OFF

OFF (even group);

ON (odd group)

<time>

Integer

1s to 99999s

1s

<firnum>

Integer

0 to 2047

None

<timercount>

Integer

1 to 2048

1

Explanation

 <secnum> is the group number of the delayer parameters to be set;

{ON|OFF} is the output state; <time> is the delay time.

 <firnum> is the group number of the first group of delayer parameters to be

queried; <timercount> is the total number of groups of delayer parameters to

be queried. When <timercount> is omitted, the command queries a single

group of delayer parameters by default.

Return Format

The query returns a string starting with #. For example,

#90000000152,OFF,3;3,ON,1;; wherein, #9000000015 is the data block

header; 2,OFF,3;3,ON,1; are the actual delayer parameters.

 The data block header is used to describe the data stream length information

and starts with #. For example, the number "9" in #9000000015 denotes

that the 9-bit data (000000015) following it is used to denote the data stream

length (15 bytes).

 The format of each group of delayer parameters is "number,output state,delay

time"; multiple groups of parameters are separated by";". For example,

2,OFF,3;3,ON,1; denotes there are two groups of delayer parameters; the

number of the first group of delayer parameters is 2, the output state is OFF

and the delay time is 3s; the number of the second group of delayer

parameters is 3, the output state is ON and the delay time is 1s.

Example

:DELAY:PARA 1,ON,2 /*Set the delayer parameters of the first group. Set the

state of the first group to ON and the delay time to 2s*/

:DELAY:PARA? 3,2 /*Query two groups of delayer parameters starting from

the third group. The query returns

#90000000153,ON,1;4,OFF,1;*/

Advertising
This manual is related to the following products: