Loading…

Method Name: Capture4mALevel

Method ID: 0x4022

Method Label: Capture 4mA Level

Method Help: Sets 4mA point to 0 and adjusts offset to give level reading of zero at float position


  • {
  • char status[3];
  • char disp_string1[60];
  • int slen1;
  • long var_id[1];
  • int use_abort_method;
  • int units;
  • int key_selected;
  • slen1 = 60;
  • _get_dictionary_string(19726337,disp_string1,slen1);
  • _add_abort_method(4118);
  • ACKNOWLEDGE(disp_string1);
  • _set_device_status(0xFF,0);
  • _set_all_resp_code(0);
  • _set_xmtr_device_status(0xFF,0);
  • _set_xmtr_all_resp_code(0);
  • ACKNOWLEDGE(literal_string(117));
  • do {
  • send_command(1);
  • units = _ivar_value(16385);
  • var_id[0] = 16386;
  • if (units == 47)
  • key_selected = select_from_list(literal_string(118),var_id,literal_string(119));
  • else


Please login for more