Loading…

Method Name: review_discrete_assignment_meth

Method ID: 0x4295

Method Label: Review All Discrete Actions

Method Help: Cycles through the discrete actions and reports the associated discrete assignments.


  • {
  • char status[3];
  • int actionChoice;
  • int assignChoice;
  • long var_id[2];
  • char disp_string[100];
  • char disp_string1[100];
  • int slen;
  • int slen1;
  • int x;
  • slen1 = 100;
  • slen = 100;
  • _set_xmtr_device_status(0xFF,0);
  • _set_xmtr_all_resp_code(0);
  • _set_device_status(0xFF,0);
  • _set_all_resp_code(0);
  • for (x = 1; x < 3; x++)
  • {
  • _iassign(16888,x);
  • send(150,status);
  • if (status[0])
  • {
  • display_response_status(150,status[0]);
  • return;
  • }
  • else
  • {
  • var_id[0] = 16888;
  • var_id[1] = 16889;
  • acknowledge(literal_string(1132),var_id);
  • }
  • }
  • if (varEnable_GSV == 0)


Please login for more