Loading…
Loading…
Method Name: leadlag_method
Method ID: 0x4326
Method Label: View/Edit Lead/Lag
Method Help:
- {
- float qa, qb, qc, qd, qe; int q, q0, q1, q2, q3; char S[3];
- int a1,
- a2,
- a3,
- a4,
- DoNotWarn,
- b, i;
- float fRoundingFactor,
- x1,
- x2,
- x3,
- x4;
- long ids[2];
- _set_device_status(0xFF,0);
- _set_xmtr_device_status(0xFF,0);
- _set_all_resp_code(1);
- _set_resp_code((8),0);
- _set_no_device(2);
- 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; };
- if(((_ivar_value(16465) & 0x0040) != 0x0040))
- {
- ids[0] = 16465;
- acknowledge("|en|Instrument Level: %{0}\nThis Instrument Level does not support this procedure.", ids);
- }
- else
- {
- DoNotWarn = 1;
- send_command_trans(129, 2);
- if((_ivar_value(158)<5) && (_ivar_value(16508)))
- {
- if(0!=_ivar_value(16555))
- {
- ACKNOWLEDGE("|en|WARNING! Valve will move momentarily to CLOSED during power up unless SP Rate Open, SP Rate Close, and Lag Time are set to zero. Updated firmware is available.");
- }
- else
- {
- DoNotWarn = 0;
- }
- }
- q = 0.9; fRoundingFactor = 0.0; if(q < 1) fRoundingFactor = 0.5;
- DELAY(1,"|en|Please wait...");
- send_command_trans(129, 2);
- a1 = _ivar_value(16555);
- if(0 != a1)
- x1 = 819.2 / a1 - 0.0125;
Please login for more