Applies To:
  • CitectSCADA 5.50, 5.50 Service Pack A, 5.50 Service Pack B
  • CitectHMI 5.50, 5.50 Service Pack A, 5.50 Service Pack B

AlarmGetDsp(hAN, "Area") returns the area of the current alarm, although this is not documented in the help. This works with normal alarms, but returns the wrong value when used with the new Multi-Digital alarms in Citect 5.50 (also known as Argyle Digital Alarms). 

This attribute of multi-digital alarms needs to be enabled in order to be read. Citect has confirmed this to be a problem in CitectHMI/SCADA versions 5.50 to 5.50 Service Pack B. This problem has been fixed in version 5.50 Service Pack C.

To correct this in 5.50r0, 5.50 Service Pack A, or 5.50 Service Pack B, it is necessary to modify the SARGDIG.DBF file in the Citect\Bin folder of the alarm server PC(s). This can be done in Microsoft Excel:

1. Run Excel
2. Open 'Citect\bin\SAVE_DBF.XLS' and enable macros
3. Open 'Citect\bin\SARGDIG.DBF'
4. In the row beginning with 'Area' (Row 10), set the attribute field (Column G) to: '1 Make sure to include the apostrophe, as this tells Excel to save the value as text
5. Right-click on any cell and choose 'Save/Close DBF' from the options menu
6. Recompile you project