Applies To:
  • CitectSCADA 6.x, 7.x
  • CitectHMI 6.x, 7.x


We get an error message "Expression Too Long" after upgrading a project from any version before 6.1 to versions 6.1 or later.



The error message is caused when the expression used in Genies or any object properties field is more than 128 characters. In previous versions (before 6.1) there were no checks implemented to check the length of the expression fields but from 6.1 this is implemented. Using more than 128 characters is not recommended and can cause serious crash issues in any version of CitectSCADA.

Q: I am using less than 128 characters in my object properties window under Movement tab and still get the error.

A: In the object properties window if we are using the option Minimum and Maximum ranges (When enable "Specify range") for any property it adds more strings at the end of the expression and if the collective expression goes more than 128 character then you get this error message. This was not properly documented in the help section. The help will be updated soon with the detailed information.

Q: I have a very big project is there any easier way to look for graphics objects which have expressions more than 128 characters defined.

A: Yes we can use the "Strings" (Microsoft Utility) command to search for the strings in command prompt. Please refer to KB article Q5018 for detailed explanation.