beautypg.com

Timer:parameter, Timer:parameter -132 – RIGOL DP832A User Manual

Page 156

background image

RIGOL

Chapter 2 Command System

2-132

DP800 Programming Guide

:TIMEr:PARAmeter

Syntax

:TIMEr:PARAmeter ,,,

Description

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

Parameter

Name

Type

Range

Default

Integer

0 to 2047

None

Real

The voltage range of the

current channel

CH1/CH2: 1V

CH3: -1V

Real

The current range of the

current channel

1A

Real

1s to 99999s

1s

Integer

0 to 2047

None

Integer

1 to 2048

1

Explanation

is the group number of the specified group of timer parameters;

, and

group of timer parameters respectively and their units are V, A and s

respectively.

 The query command queries the specified groups of timer parameters (the

numbers of the groups are continuous). is the group number of the

first group of timer parameters to be queried. is the total

number of groups of timer parameters to be queried.

 When is omitted, the command queries a single group of timer

parameters by default.

 You can also send the

:OUTPut:TIMEr

command to set or query the timer

parameters.

Return Format

The query returns a string starting with #.

For example, #90000000361,8.000,1.0000,10;2,6.000,1.0000,10;;

wherein, #9000000036 is the data block header;

1,8.000,1.0000,10;2,6.000,1.0000,10; are the specified timer parameters.

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

stream and starts with #. For example, the number "9" in #9000000036

denotes that the 9-bit data (000000036) following it is used to denote the data

stream length (36 bytes).

 The format of each group of timer parameters is "number,voltage,current,time"

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

1,8.000,1.0000,10;2,6.000,1.0000,10; denotes two groups of timer

parameters; the number of the first group of timer parameters is 1, the voltage

is 8.000V, the current is 1.0000A and the time is 10s; the number of the second

group of timer parameters is 2, the voltage is 6.000V, the current is 1.0000A

and the time is 10s.

Example

:TIME:PARA 1,8,1,10 /*Set the timer parameters of the first group to 8V, 1A, 10s*/
:TIME:PARA 2,6,1,10 /*Set the timer parameters of the second group to 6V, 1A,

10s*/

:TIME:PARA? 1,2 /*Query two groups of timer parameters starting from the

first group and the query returns

#90000000361,8.000,1.0000,10;2,6.000,1.0000,10;*/

This manual is related to the following products: