Loading…

方法名称: PST_enable_method

方法ID: 0x4341

方法标签: Change PST Enable

方法描述:


  • {
  • int h, i, j;
  • long ids[2];
  • float tr, fRoundingFactor;
  • float qa, qb, qc, qd, qe, mpp; int q, q0, q1, q2, q3, q4, q5, q6, q7, q8; char S[3];
  • _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(); };
  • if(((_ivar_value(16496) & 0x01) == 0))
  • {
  • ACKNOWLEDGE("|en|The Hardware Shutdown DIP switch on the main electronics board must be Enabled in order to realize the published failure rate metrics.");
  • }
  • q = 0.9; fRoundingFactor = 0.0; if(q < 1) fRoundingFactor = 0.5;
  • send(15,S);


请登录以获得完整内容