Just some items I’ve found during v7 to v8 upgrades that may not be documented (some of them might be) and can cause hiccups (and quite a bit of work, relatively speaking!).
The official guide to upgrading from IA is here.
Tags:
- UDT v7 property
UDTParentType
has been renamed in v8 toTypeId
- Tag quality string values have changed. E.g. EDITED FOR 8.1.10 below 8.1.10 “Not Found” ==> “Bad_NotFound”; “Disabled” ==> “Bad_Disabled”; 8.1.10 and above “Bad_NotFound(Error description…)”, “Bad_ErrorConfiguration(Error description…)”. Also, integer values appear to have changed as well, such as if you were checking a tag’s quality value = 404 for not found; this no longer works.
- Tag properties have changed between versions:
7.9.15____________________8.1
Note: LastChanged was renamed to Timestamp, ScanClass to TagGroup - You can no longer check the quality of a UDT instance (for example to check if it’s disabled); the quality always comes back as
Good
. For Disabled/Enabled, read the UDT instance propertyenabled
instead. - if you were using expression bindings in your alarm properties that reference alarm properties, you need to change all of these as these props are now properly dynamic as opposed to being pre-compiled (take them out of quotes) e.g.
'{name} thing'
become{name} + ' thing'
- UDT definition parameter data types are converted to Integer. If you were using Strings, for example, you’ll need to change these back to String. Need to confirm this is actually a thing
- Lots of UDT parameters get changed from String types into Integer types in the upgrade… While it doesn’t affect the current values from being correctly used proper, if you need to modify parameters later you get a warning and have to manually change these back to String.
Vision
- “Event Id” is added to the displayed headers of all Alarm Status Table components on existing Windows. Operators love to see this column (not )
- The default background colour has been changed from
RGB(238,236,232)
toRGB(250,250,251)
. This affects existing Windows that use the default background colour for the Window and any containers as well. - ‘Dialog’ font mapping has changed between versions. Original font was mapped to Lucida which is not licensed by the OpenJDK which 8 now uses, so this is now mapped to Google Noto Sans. The characters in this typeface are slightly wider than Lucida, so all Windows must be checked to make sure text still fits.
Edit: I just noticed this option in the Gateway config
- Converted projects to 8 will have global Template templatePaths set to [shared]… however if you make changes to the template definition, these will not be reflected in these instances. You will need to change the template paths for all templates to use
SharedTemplates/...
. A find replace can do this easily. Edit: although there is a bug is some versions with find replace no longer finding things in unopened templates… Edit2: nope, this turned out to be a corrupted binding in one of my Templates. Once this was fixed, find/replace could find Templates again. - the default button colour has changed from light grey to blue. Any buttons without a background set will change to blue
- if fonts are displaying pixelated, try added this option to the JVM arguments under the client launcher manage area:
-Dawt.useSystemAAFontSettings=on
. This usually doesn’t affect Windows, has a high chance of affecting Linux, not sure about Apple. (info courtesy of @Kevin.Herron) - if you were using
tag({Root Container.TagPrefix} + '/Infeed Screw/Running.Quality')='Disabled'
to check quality in an expression, you’ll need to use this now:indexof(toStr(qualityOf(tag({Root Container.TagPrefix} + '/Infeed Screw/Running'))), 'Bad_Disabled') != -1