Loading…

Method Name: method_ack_event_notif_for_burst

Method ID: 0x4A8D

Method Label: Ack event notification

Method Help:


  • {
  • char status[3];
  • char disp_string2[60];
  • int slen2;
  • int switch_trans;
  • char is_found_active_bit;
  • int check_bit;
  • int result_st;
  • {
  • _set_all_resp_code(0);
  • _set_device_status(0xFF,0);
  • _set_xmtr_device_status(0xFF,0);
  • _set_xmtr_all_resp_code(0);
  • }
  • ;
  • slen2 = 60;
  • eventNumber = 0;
  • do {
  • is_found_active_bit = 0;
  • send_command(115);
  • if (_ivar_value(2265) == 0)
  • {
  • ACKNOWLEDGE(literal_string(4179));
  • process_abort();
  • }
  • switch_trans = 0;
  • send_trans(119,switch_trans,status);
  • if (status[0])
  • {
  • display_response_status(119,status[0]);
  • process_abort();
  • }
  • {
  • if (device_status_latched_value != 0x00)
  • {
  • if (is_found_active_bit != 1)
  • {
  • is_found_active_bit = 1;
  • ACKNOWLEDGE(literal_string(3834));
  • }
  • for (check_bit = 0x0001; check_bit < 0x0100; check_bit <<= 1)
  • {
  • if ((device_status_latched_value & check_bit) != 0x0000)
  • {
  • _display_xmtr_status(151,check_bit);
  • }
  • }
  • }
  • }
  • ;
  • {
  • if (device_specific_status_0_latched_value != 0x00)
  • {
  • if (is_found_active_bit != 1)
  • {
  • is_found_active_bit = 1;
  • ACKNOWLEDGE(literal_string(3834));
  • }
  • for (check_bit = 0x0001; check_bit < 0x0100; check_bit <<= 1)
  • {
  • if ((device_specific_status_0_latched_value & check_bit) != 0x0000)
  • {
  • _display_xmtr_status(4139,check_bit);
  • }
  • }
  • }
  • }
  • ;
  • {
  • if (device_specific_status_1_latched_value != 0x00)
  • {
  • if (is_found_active_bit != 1)
  • {
  • is_found_active_bit = 1;
  • ACKNOWLEDGE(literal_string(3834));
  • }
  • for (check_bit = 0x0001; check_bit < 0x0100; check_bit <<= 1)
  • {
  • if ((device_specific_status_1_latched_value & check_bit) != 0x0000)
  • {
  • _display_xmtr_status(4140,check_bit);
  • }
  • }
  • }
  • }
  • ;
  • {
  • if (device_specific_status_2_latched_value != 0x00)
  • {
  • if (is_found_active_bit != 1)
  • {
  • is_found_active_bit = 1;
  • ACKNOWLEDGE(literal_string(3834));
  • }
  • for (check_bit = 0x0001; check_bit < 0x0100; check_bit <<= 1)
  • {
  • if ((device_specific_status_2_latched_value & check_bit) != 0x0000)
  • {
  • _display_xmtr_status(4141,check_bit);
  • }
  • }
  • }
  • }


Please login for more