Loading…

Method Name: sensor2_config_wizard

Method ID: 0x444C

Method Label: Sensor 2 Configuration

Method Help: This method helps user to configure sensor 2 parameters


  • {
  • char status[3];
  • int slen;
  • char disp_string[60];
  • slen = 60;
  • _set_device_status(0xFF,0);
  • _set_xmtr_device_status(0xFF,0);
  • _set_all_resp_code(0);
  • _set_xmtr_all_resp_code(0);
  • _add_abort_method(17462);
  • send_trans(1025,1,status);
  • _iassign(16620,sensor2_probe_type);
  • _get_dev_var_value(literal_string(85),0,16620);
  • send_trans(1025,0,status);
  • if (sensor2_probe_type_local == 251 && (primary_variable_code == 3 || primary_variable_code == 4 || primary_variable_code == 5 || primary_variable_code == 6 || primary_variable_code == 7 || primary_variable_code == 8 || secondary_variable_code == 3 || secondary_variable_code == 4 || secondary_variable_code == 5 || secondary_variable_code == 6 || secondary_variable_code == 7 || secondary_variable_code == 8 || tertiary_variable_code == 3 || tertiary_variable_code == 4 || tertiary_variable_code == 5 || tertiary_variable_code == 6 || tertiary_variable_code == 7 || tertiary_variable_code == 8 || quaternary_variable_code == 3 || quaternary_variable_code == 4 || quaternary_variable_code == 5 || quaternary_variable_code == 6 || quaternary_variable_code == 7 || quaternary_variable_code == 8))
  • {
  • ACKNOWLEDGE(literal_string(1036));
  • }
  • else
  • {


Please login for more