Return messages
In all cases, a successful Post command will return the following:
It is the user’s responsibility to ensure that the sum of the normalized port power must be
≤
1. The WaveShaper performance is not
defined for values >1. If the sum of the normalized port power is >1, then the following error message will be returned:
Care should be taken to ensure that the formatting of the command is correct. An incorrectly formatted command (e.g. missing
the leading “0” in a value for Pn) will generate the following error message:
{
"msg"
:
"OK"
,
"rc"
:
0
}
{
"msg"
:
"OK"
,
"rc"
:
0
}
{
"rc"
:
-1
,
"msg"
:
"error:invalid json format"
}
WaveShaper A Series User Manual
43