Loading…

Method Name: inst_mode_method

Method ID: 0x4310

Method Label: Change Instrument Mode

Method Help:


  • {
  • 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)


Please login for more