Loading…

Method Name: partial_stroke_test_method

Method ID: 0x4344

Method Label: Partial Stroke Test

Method Help:


  • {
  • float qa, qb, qc, qd, qe; int q, q0, q1, q2, q3; char S[3];
  • int qMonth, qLeap, qAccumDays, qJDay, qDays;
  • int ck0,
  • ck1,
  • pt,
  • np,
  • cpt,
  • E,
  • i;
  • int j, q_yy, q_hh, q_mm, q_dd;
  • int q_LastLDay[13];
  • long q_secs, days;
  • float fRoundingFactor,
  • tr,
  • x;
  • long ids[4];
  • _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; };
  • q = 0.9; fRoundingFactor = 0.0; if(q < 1) fRoundingFactor = 0.5;
  • ids[0] = 16389;
  • if(((_ivar_value(16465) & 0x0100) != 0x0100))
  • {
  • ACKNOWLEDGE("|en|This Instrument Level does not support this procedure.");
  • process_abort();
  • }
  • else if(!_ivar_value(16529))
  • {
  • ACKNOWLEDGE("|en|The Partial Stroke Test Start Point must be configured before the Partial Stroke Test will run.");
  • }
  • else if(1 == _ivar_value(16563))
  • {
  • ACKNOWLEDGE("|en|The Partial Stroke Test will not run because the Partial Stroke Test Enable variable is disabled.");
  • }
  • else if((!(_ivar_value(16427))))
  • {
  • ACKNOWLEDGE("|en|Instrument Mode must be In Service in order to run the Partial Stroke Test.");
  • }
  • else
  • {
  • DELAY(1,"|en|Please wait...");


Please login for more