Loading…
Loading…
方法名称: tvl_auto_calib_method
方法ID: 0x4348
方法标签: Auto Calibration
方法描述:
- {
- float qa, qb, qc, qd, qe, mpp; int q, q0, q1, q2, q3, q4, q5, q6, q7, q8; char S[3];
- int q01, q02, q03, q04, q05, q06, q07, q08, q09, q10, q11, q12, q13, q14, q15, q16, q17, q18, q19, q20, q21, q22, q23, q24, q25, q26, q27, q28, q29, q30, q31, q32, q33, q34, q35, q36, q37, q38, q39, q40, qj, qk, qm; float qa0, qa1, qa2, qa3, qa4, qa5, qa6, qa7, qa8, qa9, qb0, qb1, qb2, qb3, qb4, qb5, qb6, qb7, qb8, qb9, qc0, qc1, qc2, qc3, qc4, qc5, qc6, qc7, qc8, qc9, qd0, qd1, qd2, qd3, qd4, qd5, qd6, qd7, qd8, qd9, qe0, qe1, qe2, qe3, qe4, qe5, qe6, qe7, qe8, qx, qy, qz;
- float fRoundingFactor;
- int iVar45, iVar46;
- int i, n;
- long ids[5];
- _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)>2) { ACKNOWLEDGE("|en|The DD revision is not compatible with the firmware in the device.\nContact your Fisher sales office for an upgrade to your DD."); return; };
- if(((_ivar_value(16532)&0x18)>0)) { ACKNOWLEDGE("|en|This instrument's Relay Type is set to a High Cv Spool Valve. This is not supported by this version of the DD. Please use a version of ValveLink Software or ValveLink Mobile that supports the High Cv Relay Type to properly configure this instrument."); process_abort(); };
- q = 0.9; fRoundingFactor = 0.0; if(q < 1) fRoundingFactor = 0.5;
- send_trans(129,35,S); if(0x02==_ivar_value(16509)) { ACKNOWLEDGE("|en|This action cannot be performed in Press Control."); return; } send(138,S); if((_ivar_value(16789)&0x01)>0) { ACKNOWLEDGE("|en|The instrument is reporting a Tvl Sensor failure."); return; };
请登录以获得完整内容