Loading…

Method Name: SystemTestsMethod

Method ID: 0x4103

Method Label: System Tests

Method Help:


  • {
  • char status[3];
  • char xmtr_status[25];
  • char disp_string1[60];
  • int wSlen1;
  • int wChoice;
  • int x;
  • int wLocalOption;
  • int wLocalRCU2;
  • int wLocalRCU3;
  • int wLocalProbeType;
  • long var_id[1];
  • int wAbortStatus;
  • int wTest4Choice;
  • _set_xmtr_device_status(0xFF,0);
  • _set_xmtr_all_resp_code(0);
  • _set_device_status(0xFF,0);
  • _set_all_resp_code(0);
  • wSlen1 = 60;
  • _get_dictionary_string(19726337,disp_string1,wSlen1);
  • ACKNOWLEDGE(disp_string1);
  • _add_abort_method(4118);
  • _iassign(16592,1);
  • send_command(0x97);
  • wLocalProbeType = _ivar_value(16389);
  • send_command(0x82);
  • if (status[0])
  • {
  • display_response_status(0x82,status[0]);
  • _get_dictionary_string(19726342,disp_string1,wSlen1);
  • DELAY(2,disp_string1);
  • process_abort();
  • }
  • else
  • {
  • wLocalRCU2 = _ivar_value(16575);
  • wLocalRCU3 = _ivar_value(16571);
  • }
  • do {
  • if (wLocalProbeType < 4)
  • {
  • wChoice = SELECT_FROM_LIST(literal_string(302),literal_string(303));
  • }
  • else
  • {
  • wChoice = SELECT_FROM_LIST(literal_string(302),literal_string(304));
  • }
  • switch (wChoice)
  • {
  • case 0:
  • case 1:
  • case 2:
  • case 5:
  • case 6:
  • case 7:
  • case 8:
  • _iassign(16593,wChoice);
  • switch (wChoice)
  • {
  • case 5:
  • ACKNOWLEDGE(literal_string(305));
  • break;
  • case 6:
  • ACKNOWLEDGE(literal_string(306));
  • break;


Please login for more