beautypg.com

Apply, Apply -9 – RIGOL DP832A User Manual

Page 33

background image

Chapter 2 Command System

RIGOL

DP800 Programming Guide

2-9

:APPLy

Syntax

:APPLy {CH1|CH2|CH3}

[,|MINimum|MAXimum|DEF[,|MINimum|MAXimum|DEF]]
:APPLy [|MINimum|MAXimum|DEF[,|MINimum|MAXimum|DEF]]
:APPLy? [CH1|CH2|CH3[,CURRent|VOLTage]]

Description

Select the specified channel as the current channel and set the voltage/current of

this channel.
Set the voltage/current of the current channel.
Query the voltage/current of the specified channel.

Parameter

Name

Type

Range

Default

{CH1|CH2|CH3}

[1]

Discrete

CH1|CH2|CH3

None

Real

Refer to Table 2-1

Real

Refer to Table 2-1

[CH1|CH2|CH3]

Discrete

CH1|CH2|CH3

None

[CURRent|VOLTage]

Discrete

CURRent|VOLTage

None

Explanation

 For the multi-channel models, this command is used to select the specified

channel and set the voltage and current; for the single-channel model, this

command is used to set the voltage and current of the channel. This command

combines the channel select command

(

:INSTrument:NSELect

,

:INSTrument[:SELEct]

or

:INSTrument[:SELect]

, only

applicable to the multi-channel models), voltage setting command

(

[:SOURce[]]:VOLTage[:LEVel][:IMMediate][:AMPLitude]

) and current

setting command

(

[:SOURce[]]:CURRent[:LEVel][:IMMediate][:AMPLitude]

) functions.

 In the query command, the parameter [CH1|CH2|CH3] is used to select the

channel to be query. If it is ignored, the current channel will be query.

and are used to set the voltage and current of the specified

channel respectively. If only one parameter is specified, the value is the

voltage setting value by default; if both of them are omitted, the command will

select the desired channel. The voltage/current ranges of each channel (range)

of different models are as shown in Table 2-1.

 You can use MINimum, MAXimum or DEF which denote setting the voltage or

current of the specified channel (range) to the minimum, maximum or default

instead of the specified voltage () or current value (). The

voltage/current ranges of each channel (range) of different models are as

shown in Table 2-1.

 [CURRent|VOLTage] is used to select to query the voltage or current of the

specified channel. If they are both omitted, the system will query both the

voltage and current of the specified channel.

 In the query command, you can omit both of the parameters or only omit

[CURRent|VOLTage]; but you cannot only omit [CH1|CH2|CH3].

Return Format

The query returns a string.

 The query returns the voltage or current setting value of the specified channel

when [CH1|CH2|CH3] and [CURRent|VOLTage] are specified, for example,

5.000.

 The query returns the channel (range) name, rated voltage/current value,

voltage setting value and current setting value of the specified channel

This manual is related to the following products: