Setting Alarms to disply on alarms Banner based on priority

Hi,

I need to filter alarms with priority avobe 5 to be annunciated on alarm banner. Books online talks about frsVariables gn_ProcessAlarmThresold to handle this by setting its value to the priority above wich alarmsare announced.

But, setting this value in example to 5 doesn't work, in fact whe the alarm banner graphic is opened the value of gn_ProcessAlarmThresold is set back to 3 (default value as explained on books online).

Looking Alarm Banner VBA code I've found that frszInitAlarmThresholds method is changing  gn_ProcessAlarmThresold  but this method is hidden (it is part of frsFactoryGlobals file).

Before unlocking frsFactoryGlobals to continue further investigation, if anybody knows how to filter alarms with priority on alrm banner I will appreciate some advice.

 

Regards

  • In reply to gamella:

    in usersettings.grf there is a section that needs to be modified to alter DV Operate alarm behavior:

    '===================================
    'Alarm threshold initialization
    ' NOTE
    'Uncomment only ONE of the following #Const lines at a time
    'To Disable - uncomment the '=0' line and comment the '=1' line.
    'To Enable - uncomment the '=1' line and comment the '=0' line.
    '
    'Uncomment the following line to disable the initialization of the Alarm Threshold default values
    #Const INIT_ALARM_THRESHOLD = 0 'Disables Initialzation of Alarm Threshold Defaults
    '
    'Uncomment the following line to enable the initialization of the Alarm Threshold default values
    '#Const INIT_ALARM_THRESHOLD = 1 'Enables Initialzation of Alarm Threshold Defaults
    '
    'These values control the alarms that will be displayed
    'Uncomment the following lines, and set the value to the desired threshold.
    'in the alarm banner.
    'default values :
    'Const PROCESS_THRESHOLD_DEFAULT = 3
    'Const DEVICE_THRESHOLD_DEFAULT = 7
    'Const HARDWARE_THRESHOLD_DEFAULT = 7
    'Const SIS_PROCESS_THRESHOLD_DEFAULT = 3
    'Const SIS_DEVICE_THRESHOLD_DEFAULT = 7
    'Const SIS_HARDWARE_THRESHOLD_DEFAULT = 3
    #If INIT_ALARM_THRESHOLD Then
    If Not DeltaVAlarmThreshold Is Nothing Then
    DeltaVAlarmThreshold.InitDefaultAlarmThresholds PROCESS_THRESHOLD_DEFAULT, _
    DEVICE_THRESHOLD_DEFAULT, _
    HARDWARE_THRESHOLD_DEFAULT, _
    SIS_PROCESS_THRESHOLD_DEFAULT, _
    SIS_DEVICE_THRESHOLD_DEFAULT, _
    SIS_HARDWARE_THRESHOLD_DEFAULT
    End If
    #End If
    'end of Alarm threshold initialization