Loading…

Method Name: method_enable_simulation_dp

Method ID: 0x413F

Method Label: Simulation

Method Help: method to Enable simulation


  • {
  • int selection;
  • int contin;
  • int len1;
  • int chk;
  • char status[3];
  • char string1[60];
  • len1 = 60;
  • contin = 1;
  • _set_all_resp_code(0);
  • _set_device_status(0xFF,0);
  • _set_xmtr_device_status(0xFF,0);
  • _set_xmtr_all_resp_code(0);
  • _get_dictionary_string(19726337,string1,len1);
  • ACKNOWLEDGE(string1);
  • _add_abort_method(16864);
  • _add_abort_method(4118);
  • do {
  • selection = SELECT_FROM_LIST(literal_string(1628),literal_string(1635));
  • switch (selection)
  • {
  • case 0:
  • device_variable_code_1 = 0;
  • send(9,status);
  • if (status[0])
  • {
  • display_response_status(9,status[0]);
  • process_abort();
  • }


Please login for more