Undocumented changes when migrating from v7 to v8

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 to TypeId
  • Tag quality string values have changed. E.g. “Not Found” ==> “Bad_NotFound”; “Disabled” ==> “Bad_Disabled”. 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
    image image
    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 property enabled 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 :smile:)
  • The default background colour has been changed from RGB(238,236,232) image to RGB(250,250,251) image. 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
  • 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: tostr(tag({Root Container.TagPrefix} + '/Infeed Screw/Running.Quality')) = 'Bad_Disabled'
6 Likes

Other cool things:

Perspective
Bindings:

  1. You can bind to a tag group rather than a tag itself and it will basically represent as a json document with your tags in there. Very cool!
    Below, status is bound to a tag group (accidentally) which contains the tags Consumed Power, Call, etc. and these have each become properties with values that update with the tag values in realtime
    image