Applies To:
  • CitectSCADA 5.xx

Summary:
Q: I have a Genie with three fields. When I delete one of the fields on the Genie, and do an update pages, the pages do not reflect those changes, but new Genies I put down work as expected. Why?

Q: I have a Genie with a text field that has a 'Display Value' property of numeric and a substitution in the 'Numeric Expression' field. If I use this Genie on a page with a valid tag, and go and change the Genie to have no 'Display Value' property and a substitution in the 'Text' field of the 'General' property, the Genie on the page still accepts any tag and displays '#####'. Why is this happening?

Q: I have a Genie that has the privilege set. After using this Genie on pages, I deleted the privilege in the Genie, but at runtime all those Genies still have the property set. Why?

 

Solution:
A: All these problems have a common cause, the removal of Genie properties after the items have been used. This problem only occurs if properties are cleared (either removed entirely or replaced by some different property e.g. clearing display value property and setting the general text field instead). There are two methods to overcome this problem. 

1. You can replace the affected Genies with new ones pasted directly by the "paste Genie" tool or menu item.

2. The other option is to change the genie's expression value for the property that you actually want to remove so that it is false. For example if you have an on/off fill property on a rectangle, make the "ON Colour when" expression value 0. Then use Update Pages from the tools menu so that the pasted genies will be updated to always have this property false i.e. as though removed. You can then remove the property from the genie if you wish.

CIT has confirmed this to be a problem in Citect for Windows version 5.00 to 5.01. We are researching this problem and will post new information here as it becomes available. 


Keywords:
 

Attachments