Issue
In some cases when the OPC Server Assistant is used to expose a register, an "Unknown New Measurement" error will occur when changes are saved.
Product Line
ION Enterprise 5.x
ION Enterprise 6.x
StruxureWare Power Monitoring 7.x
Power Monitoring Expert 7.x
Power Monitoring Expert 8.x
Power Monitoring Expert 9.0
Power Monitoring Expert 2020
Power Monitoring Expert 2021
Power Monitoring Expert 2022
Power Monitoring Expert 2023
Power Monitoring Expert 2024
Environment
OPC Assistant
Cause
Part of the OPC Server Assistant’s role is to create an address that maps the device and handle to a source and measurement if it is not a default register. It creates a measurement if one does not already exist and then adds the address definition to the database. The tool looks to see if a given measurement already exists before creating a new one. Measurement lookup is by a hash value; the string is converted to a number and a search is done on that number. Unfortunately the conversion from string to hash value does not guarantee a unique hash code, therefore a measurement may appear to exist when it does not. Adding the address definition will fail because it refers to a nonexistent measurement.
Resolution
Within the OPC Server Assistant:
1. Select view\measurements
2. Associate the register with an appropriate existing measurement
3. Select file\export
Alternatively, change the label of the register to be exposed. This may not work if the new label chosen results in an existing hash value, so a series of new labels may have to be tried until one succeeds.