Hi, we noticed a API response for the Optical level which is N/A on the UI as -9999 dBm. Is this a bug or by design?
Hi Vig,
The value -9999 is probably an exception value that is defined in the protocol. That value is being used internally to represent N/A in the numeric parameter.
With API I assume that you're talking about the GetParameter method in the webservice API. To get "N/A" instead of -9999, you could use the "DisplayValue" property instead of "Value" in the returned object from the API. https://docs.dataminer.services/develop/webservices/WS_v1/WS_CustomDataTypes_v1/DMAParameter.html
Great tip there Tom, thanx will give that a go!!