Loading…

Method Name: mmi_leave_analog_fixed_current_mode1

Method ID: 0x4172

Method Label: Leaving fixed crnt mode

Method Help: Leaving Fixed Current Mode- Takes the selected Analog Output out of a mode where the output was a constant value, and returns the output to a mode where the output then tracks the input


  • {
  • char xmtr_status[25];
  • int num_retries;
  • int m_drop;
  • int stat;
  • char status[3];
  • long var_id[1];
  • char disp_string[100];
  • int slen;
  • slen = 100;
  • num_retries = 1;
  • m_drop = 0;
  • _set_xmtr_device_status(0xFF,0);
  • _set_xmtr_all_resp_code(0);
  • _set_device_status(0xFF,0);
  • _set_all_resp_code(0);
  • do {
  • stat = get_more_status(status,xmtr_status);
  • }
  • while (stat != 0 && num_retries++ <= 3);
  • if (xmtr_status[1] & 0x04)
  • {
  • _iassign(4068,1);
  • _fassign(resolve_record_ref(resolve_array_ref(172,_ivar_value(4068)),193),NaN_value());


Please login for more