4.8.7 :OUTPut:OCP[:STATe]
Syntax
:OUTPut:OCP[:STATe] [<
source
>,]<
bool
>
:OUTPut:OCP[:STATe]? [<
source
>]
Description
Sets or queries the on/off state of the overcurrent protection (OCP) function for the
specified channel.
Parameter
Name Type Range Default
<source> Discrete {CH1|CH2|CH3} -
<bool> Bool {0|1|ON|OFF} 0
Remarks
• When OCP is enabled, the output is disabled automatically if the output current
reaches the OCP level (
:OUTPut:OCP:VALue
) currently set. You can
send
:OUTPut:OCP:QUES?
or
:OUTPut:OCP:ALAR?
to query whether an OCP
event occurred on the specified channel.
• If <source> is omitted, the command executes the corresponding operation on
the current channel.
Return Format
The query returns 0 or 1.
Examples
:OUTP:OCP CH1, 1 /*Enables the OCP function for CH1.*/
:OUTP:OCP? CH1 /*Queries the on/off state of the OCP function of
CH1. The query returns 1.*/
4.8.8 :OUTPut:OCP:VALue
Syntax
:OUTPut:OCP:VALue [<
source
>,]{<
value
>|<
lim
>}
:OUTPut:OCP:VALue? [<
source
>][,<
lim
>]
:OUTPut:OCP:VALue? [<
lim
>]
Description
Sets or queries the overcurrent protection (OCP) level of the specified channel.
Command System
50
Copyright ©RIGOL TECHNOLOGIES CO., LTD. All rights reserved.