Loading…

Method Name: digital_output_test_method

Method ID: 0x412D

Method Label: Dig Output Test

Method Help:


  • {
  • char status[3];
  • int i_choice;
  • long ids[4];
  • i_choice = 0;
  • SET_NUMBER_OF_RETRIES(7);
  • _set_no_device(2);
  • _set_all_resp_code(0);
  • _set_device_status(0xFF,0);
  • _set_xmtr_all_resp_code(0);
  • _set_xmtr_device_status(0xFF,0);
  • ids[0] = 16496;
  • ids[1] = 16497;
  • ids[2] = 16498;
  • ids[3] = 16499;
  • _add_abort_method(16608);
  • _iassign(16433,10);
  • _vassign(16434,16436);
  • send(185,status);
  • if (status[0] != 0)
  • {
  • if (status[0] == 3 || status[0] == 4 || status[0] == 2 || status[0] == 65 || status[0] == 113 || status[0] == 114)
  • {
  • display_response_status(185,status[0]);
  • }
  • else
  • if (status[0] == 112)
  • {
  • }


Please login for more