Applies To:
  • CitectSCADA 7.xx
  • CitectHMI 7.xx
  • CitectFacilities 7.xx

Summary:

As part of the changes made as of version 7.00 of CitectSCADA over sixty citect.ini parameters were made obsolete. Any references to these parameters using the ParameterGet() and ParameterPut() cicode functions will not be detected by the compiler so it is up to the user to remove such references in order to prevent unexpected behaviour and hardware alarms at runtime. As an example, the hardware alarms produced when the function ParameterGet("Alarm", "CPU", "0") is called are shown below.

v7.00:
Cicode   General   Not in this version   ParameterGet DeprecatedParameter


v7.10:
Cicode   Cicode   Invalid argument passed   Deprecated p[arameter]
 


Solution:

Parameters made obsolete as of version 7.00 are listed in the Help topic 'Getting Started > What's New in CitectSCADA v7.0 > Citect.ini Parameters in Version 7.0 > Obsolete Parameters'. It is suggested that as part of upgrading to version 7.00 or later the 'Find and Replace' tool is used to find any instances of the cicode functions ParameterGet() and ParameterPut() and those referring to obsolete parameters be removed and an alternative method of achieving the desired functionality is used instead.

A common use for the ParameterGet() cicode function was for determining if the machine was configured as a particular type of server. For example, ParameterGet("Alarm", "Server", "0") would have been used to determine if the machine was configured as an alarm server. The cicode function ServerInfoEx() may be a suitable alternative method for obtaining this type of information at runtime. 


Keywords:
 

Attachments