P4G_IP_DS_MINMAX
# set
<module-index>/<port-index> P4G_IP_DS_MINMAX [<group_index>] <ds_min> <ds_max>
# get
<module-index>/<port-index> P4G_IP_DS_MINMAX [<group_index>] ?
Description
Configure the min and max values of the range for the calculated part of the DS
value. Both values are included in the range. Relevant when P4G_IP_DS_TYPE
is set to INCREMENT
or RANDOM
.
Actions
set, get
Parameters
ds_min
: hex, minimum value for the calculated part of DS
ds_max
: hex, maximum value for the calculated part of DS
Example
# set
input: 0/1 P4G_IP_DS_MINMAX [0] 0x00 0x0F
output: <OK>
# get
input: 0/1 P4G_IP_DS_MINMAX [0] ?
output: 0/1 P4G_IP_DS_MINMAX [0] 0x00 0x0F