PEC_INDICES#

code: 1610

# set
<module-index>/<port-index> PEC_INDICES <indices>

# get
<module-index>/<port-index> PEC_INDICES ?

Description#

The full list of which custom distributions which are defined for a port. These are the custom id values that are used for assigning the custom distributions to an impairment. Setting the value of this command creates a new custom distribution (default values) for each value that is not already in use, and deletes each custom distribution that is not mentioned in the list. The same can be accomplished one-custom-distribution-at-a-time using the PEC_VAL and PEC_DELETE commands.

Note

Custom distributions which are currently defined are not affected when mentioned in a PEC_INDICES set command. Custom distributions which are currently assigned to an impairment cannot be deleted and any attempt of deleting such a custom distribution using either PEC_DELETE or PEC_INDICES will result in an error.

Actions#

set, get

Parameters#

  1. indices: integer list, a list of indices to create new custom distributions

Example#

# set
input:  0/1 PEC_INDICES 0 1
output: <OK>

# get
input:  0/1 PEC_INDICES ?
output: 0/1 PEC_INDICES 0 1