Applies To:
  • CitectSCADA v6.0, v6.1, v7.0

 I am using AlarmSumAppend() and AlarmSumSet() to add and edit records to the alarm summary. When I use AlarmSumSet() with an sField of "State" this function returns an error code of 274: Invalid argument passed. The help documentation suggests that this field is valid.

 This is an oversight in the documentation, an sField of "State" is not valid. The correct alarm fields which may be used by this function are as follows:

- AckTime
- Comment
- OffMilli
- OffTime
- OnMilli
- OnTime

For more information please contact Citect support.

 AlarmSumSet, Alarm, Cicode, Invalid Argument