Applies To:
  • CitectSCADA 4.xx, 5.xx

Summary:
A crash occurs at runtime.  It seems to happen when an alarm activates, which has the Alarm Desc field defined to include a function call in the variable data area.  The function does not have a return value. As an example:

    Alarm Desc field: Test {TestFunction()}

where TestFunction() might be as follows:

    FUNCTION 

    TestFunction()
        INT i;
        i = 1 + 1;
    END

Why does it crash?

 

Solution:
The function is expected to return a value to be displayed in the Alarm Description field at runtime.  The solution is to force it to return a value.  CIT are researching ways to prevent a crash when functions are used incorrectly as described above, and will post new information here as it becomes available. 

Keywords:
 

Attachments