Loading…

Method Name: custom_char_method

Method ID: 0x431F

Method Label: Custom Characterization Table

Method Help:


  • {
  • float qa, qb, qc, qd, qe; int q, q0, q1, q2, q3; char S[3];
  • int m,
  • n,
  • i,
  • j,
  • c,
  • r,
  • k,
  • RO,
  • s;
  • float fRoundingFactor,
  • x0, x1, x2,
  • x[21],
  • y0, y1, y2,
  • y[21];
  • long ids[9];
  • _set_device_status(0xFF,0);
  • _set_xmtr_device_status(0xFF,0);
  • _set_all_resp_code(1);
  • _set_resp_code((8),0);
  • send(151,S); if(_ivar_value(16804) > 1) { ACKNOWLEDGE("|en|The DD revision is not compatible with the firmware in the device.\nContact your Fisher sales office for an upgrade to your Device Description."); return; };
  • DELAY(1,"|en|Please wait...");
  • q = 0.9; fRoundingFactor = 0.0; if(q < 1) fRoundingFactor = 0.5;
  • send_command_trans(129, 0);
  • s = 0;
  • RO = 0;
  • if((1 == _ivar_value(167)) || (_ivar_value(16427)))
  • {
  • RO = 1;
  • }
  • send_trans(133,0,S);
  • save_values();
  • if(_ivar_value(16675) < 85)
  • {
  • if(1 != RO)
  • {
  • send_trans(133,7,S);
  • send_trans(133,1,S);
  • send_trans(133,7,S);
  • }
  • else
  • {
  • ACKNOWLEDGE("|en|There is no Custom Characterization table in the instrument. Take Out of Service and remove Protection to enter a table.");
  • process_abort();
  • }
  • }
  • for (i = 0; i <= 3; i++)
  • {
  • send_trans(134,i,S);
  • save_values();
  • }
  • n = _ivar_value(16679);


Please login for more