Troubleshooting
Why Ewon tags with a slash show invalid in ViewON
Short answer
ViewON marks a Flexy tag invalid when the tag name contains a slash, and the same tag works over MQTT. Rename the Ewon tags with dot separators, update the ViewON bindings, and convert each dot back to a slash in the payload before publishing, so the SCADA keeps the slash-delimited hierarchy.

On this page
ViewON rejects a Flexy tag for one reason in this fault: the slash in its name. Tags defined as Deepwell1/Process/rPressure and Deepwell1/Process/rFlow published through the MQTT broker to the SCADA without complaint, but bound into a ViewON view they showed as invalid, and a tag without the slash bound normally. That isolates the slash as the character the view will not take. The fix that holds up keeps both worlds: rename the Ewon tags with dot separators, rebind them in ViewON, and turn every dot back into a slash in the payload before it is published, so the SCADA keeps the slash-delimited hierarchy the naming was built for. This article gives the evidence, the rename steps, a worked example with the two tags from the reported project, and the checks to run afterwards.
Why the slash fails in ViewON #
The two naming domains treat the same string differently. MQTT moves names as opaque text, so a broker and the SCADA behind it never object to a slash; ViewON parses the name it binds, and in the reported project every slash-delimited tag failed while slash-free tags passed. Nothing else about the tags differed: same values, same connection, one character.
| Name as defined on the Flexy | Publish over MQTT to the SCADA | Bind in ViewON |
|---|---|---|
Deepwell1/Process/rPressure |
worked | invalid |
| Name without a slash | not part of the fault | worked |
The slash is also a hierarchy separator for many consumers, so a name carrying one can be split or rejected downstream: PI calculations on slash-containing DeltaV historian tags fail for the same reason. Vendor guidance points the same direction. HMS support documentation for the Flexy DataMailBox export tells users to clear special characters out of tag names and descriptions when data does not arrive, and a punctuation separator in a name is such a character. Where ViewON rejects the name — import, binding or the generated view — the evidence does not say, so confirm the fault at the step your project uses.
Rename the tags and restore the slashes in the payload #
If the ViewON side is still being built, the guide to configuring Flexy 205 BASIC logic for ViewON covers how the two tools connect; keep every name it binds in the dot scheme below. The change is five steps:
- In the Flexy tag table, replace every separator slash in a name with a dot:
Deepwell1/Process/rPressurebecomesDeepwell1.Process.rPressure. Nothing else in the name moves, so the parts keep their order. - Update every reference to the old name in Flexy scripts, alarms and schedulers; a rename leaves references written in the slash form pointing at nothing.
- Rebind the tags in ViewON and confirm each one is accepted as you bind it, not after the whole view is finished.
- In the step that builds each publish payload, replace the dots in the tag-name strings with slashes before the message is serialized. Touch only the names: decimal values, dotted keys and addresses keep their dots.
- Publish and check both ends, the view and the broker subscription.
Renaming Deepwell1/Process/rPressure end to end #
Inputs, all from the reported Flexy 205 project: two tags defined in folder/tagname form, Deepwell1/Process/rPressure and Deepwell1/Process/rFlow, named that way because the MQTT broker feeds a SCADA that reads the slashes as hierarchy; and the dot, the separator the same project proved ViewON accepts.
The rule in words: swap each separator slash for a dot once, at the source, and swap the dots back to slashes in exactly one place, the payload-building step, so each naming domain sees a character it accepts.
Written out:
- In the Flexy tag table:
Deepwell1.Process.rPressureandDeepwell1.Process.rFlow - In the ViewON bindings: the same dot names, accepted, live values displayed
- In the published payload: names rebuilt as
Deepwell1/Process/rPressureandDeepwell1/Process/rFlow
Result: the view binds and displays both tags, and the message on the broker carries the original slash-delimited names, so nothing on the SCADA side changes.
Decision: apply this scheme to any Flexy name that needs a separator the view rejects, and limit the dot-to-slash replacement to the name strings. A whole-message rewrite would turn a value such as 21.5 into 21/5, so the name field is the only text the conversion touches.
Checks after the change #
- Every renamed tag is bound in ViewON, accepted, and showing its live value; one accepted tag does not cover the rest.
- A test subscription on the broker shows the published names with slashes restored and no dot left in a name.
- Values that contain decimal points arrived as numbers, untouched by the conversion.
- No Flexy script, alarm or scheduler still points at the old slash-delimited name.
- Tag descriptions are plain words too; the DataMailBox guidance covers descriptions alongside names.
The decision, stated once: a Flexy tag name that must carry a separator for the SCADA gets dots on the Flexy and in ViewON, and the payload script restores the separator before the message leaves the device. Hand-editing the generated view file and leaving slashes in the names are the two paths that do not hold up on a real project.
Questions asked
Do the dots reach the SCADA system?
No, not when the conversion runs before publishing. The broker and the SCADA receive names with the original slashes, so the topic hierarchy, history and alarms keep the layout you designed. Only the Flexy tag table and the ViewON bindings carry dots.
Why not edit each tag use in the view file instead of renaming?
ViewON stores a generated view in a .shtm file, so the slash-delimited names can be replaced there, but every tag use has to be found and changed by hand. In a view with dozens of tags, one missed instance leaves that binding invalid and easy to overlook. Renaming once at the source and converting in the payload scales without that risk.
Does renaming a Flexy tag lose its recorded history?
The values themselves are unaffected, but any consumer that keys history by name starts a new series under the dotted name. If the SCADA historian stores by tag name, expect a break between the old slash-delimited series and the new one, and decide whether to keep both or to map the old name to the new one on the consumer side.
What characters are safe in a Flexy tag name?
In the reported project, letters, digits and the dot were accepted by both ViewON and the MQTT path. No published per-character whitelist covers this, so treat other punctuation as a risk: pick a separator no consumer of the name splits on, and test one renamed tag in the view before renaming the rest.
Where should the dot-to-slash conversion run?
Where the payload is built, in the publish step on the Flexy, so the name is corrected before the message leaves the device. A rewrite on the broker or in the SCADA would have to parse and alter messages it should only forward, and it hides the true name from anyone reading the raw topic stream.


