Loading…

方法名称: inst_mode_method

方法ID: 0x4310

方法标签: Change Instrument Mode

方法描述:


  • {
  • float qa, qb, qc, qd, qe; int q, q0, q1, q2, q3; char S[3];
  • int a,
  • b;
  • long ids[2];
  • char st[3];
  • _set_device_status(0xFF,0);
  • _set_xmtr_device_status(0xFF,0);
  • _set_all_resp_code(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; };
  • send(48,S);
  • if((_ivar_value(4139) > 0) || (_ivar_value(4140) & 0x04 > 0) || (_ivar_value(4141) & 0x80 > 0))
  • {
  • ACKNOWLEDGE("|en|An Instrument Failure has occurred. Check Instrument Status for more details.");
  • b = _ivar_value(4139);
  • a = 0x01;
  • do
  • {
  • if((b & a) > 0)


请登录以获得完整内容