Preset:user[<n>]:set:ocp, Preset:user[<n>]:set:ocp -72 – RIGOL DP832A User Manual

Page 96

Advertising
background image

RIGOL

Chapter 2 Command System

2-72

DP800 Programming Guide

:PRESet:USER[<n>]:SET:OCP

Syntax

:PRESet:USER[<n>]:SET:OCP {ON|OFF}[,<current>|MINimum|MAXimum]
:PRESet:USER[<n>]:SET:OCP? [MINimum|MAXimum]

Description

Enable or disable the overcurrent protection (OCP) function of the current channel

in the specified user-defined setting and set the overcurrent protection value.
Query the status and value of the overcurrent protection (OCP) function of the

current channel in the specified user-defined setting.

Parameter

Name

Type

Range

Default

[<n>]

Discrete

1|2|3|4

None

{ON|OFF}

Bool

ON|OFF

OFF

<current>

Real

Refer to the "Explanation"

Explanation

 When [<n>] is 1, 2, 3 or 4, the system sets the related parameters of the first,

second, third or fourth group of user-defined setting respectively. When [<n>]

is omitted, the system sets the parameters of the user-defined setting

currently selected by default.

 By default, this command sets the parameters of the channel currently

selected. For multi-channel models, if you want to set the parameters of other

channels, please use the

:INSTrument:NSELect

,

:INSTrument[:SELEct]

or

:INSTrument[:SELect]

command to set the desired channel as the current

channel.

 For multi-channel models, the range of <current> is the OCP settable range of

of the current channel and the default is the default OCP value (refer to Table

2-2) of the current channel; for DP811A, the range of <current> is from 0.1mA

to 11A and the default is 03.3000A; for DP811, the range of <current> is from

10mA to 11A and the default is 03.30A.

Return Format

The query returns the status and value (separated by comma) of the OCP function

of the current channel in the specified user-defined setting, for example,

ON,1.5000.

Example

:PRES:USER1:SET:OCP ON,1.5 /*Enable the OCP function of the current channel

in the first group of user-defined setting and set

the OCP value to 1.5A*/

:PRES:USER1:SET:OCP? /*Query the status and value of the OCP function

of the current channel in the first group of

user-defined setting and the query returns

ON,1.5000*/

Related

Commands

:INSTrument:NSELect

:INSTrument[:SELEct]
:INSTrument[:SELect]

Advertising
This manual is related to the following products: