User-Defined Protection
To set the user-defined protection source using expressions (see Programming Output Protection):
Front Panel Menu Reference SCPI Command
Select System\Signal\Protect.
Select the expression that will set the user-defined
protection from the Source dropdown list. Then check
Enable.
To setuser-defined protection:
OUTP:PROT:USER:SOUR EXPR<1-8>
To enable user-protection:
OUTP:PROT:USER:STAT ON
User-Defined Status Events
To set the user-defined status bits using expressions (see Status Overview):
Front Panel Menu Reference SCPI Command
Select System\Signal\Status.
Select the expression that will control the User1 status bit
from the User1 status source dropdown list.
Select the expression that will control the User2 status bit
from the User2 status source dropdown list.
To setuser-defined status bits:
STAT:OPER:USER<1,2>:SOUR EXPR<1-8>
Expression Constraints
There is a limit to the total number of expressions and delays that can be programmed.
l A maximum of 8 expressions may be created (EXPR<1-8>).
l A maximum of 11 different inputs can be used across all expressions.
l A maximum of eight delays can be used across all expressions.
l Delays cannot be nested.
l Combining delays with other operators reduces the number of available expressions. Each addi-
tional input or sub-expression that is combined with a delay using AND or OR, reduces the number
of remaining available expressions by one.
In the following expression, because the delay is ORed with another input, the maximum number of
remaining available expressions is six.
Front Panel Menu Reference SCPI Command
Select System\Signal\Define.
Select Expression 1 in the dropdown list.
Enter "Delay(CV,1) Or CC" in the text field.
Program the signal expression.
SYST:SIGN:DEF EXPR1, "Delay(CV,1) Or CC"
In the following expression, because the delay is ORed with two inputs, the maximum number of
remaining available expressions is five.
Keysight N6900/N7900 Series Operating and Service Guide 147
4 Using the Advanced Power System