Loading…

Method Name: write_alarm_severity_meth_new

Method ID: 0x4B35

Method Label: Change Alert Severity

Method Help: Allows the user to change the severity level of an alarm. The alarms are represented by their alarm number. For example, A26 is 26 and A102 is 102.


  • {
  • char status[3];
  • long var_id[1];
  • char disp_string[100];
  • int slen;
  • int choice;
  • int alarmNum;
  • slen = 100;
  • _set_xmtr_device_status(0xFF,0);
  • _set_xmtr_all_resp_code(0);
  • _set_device_status(0xFF,0);
  • _set_all_resp_code(0);
  • _get_dev_var_value(literal_string(1422),0,19518);
  • alarmNum = _ivar_value(19518);
  • if (alarmNum >= 100)
  • alarmNum = alarmNum - 60;
  • _iassign(17103,alarmNum);
  • send(183,status);


Please login for more