Loading…

Method Name: Set_Interface_Threshold_Gain

Method ID: 0x4105

Method Label: Interface Threshold

Method Help: This function enables distinction between disturbances in the measurement signal and the actual interface signal.


  • {
  • char status[3];
  • long ids[3];
  • char loop;
  • float amplitude_range_h;
  • float amplitude_range_l;
  • float amplitude1;
  • float amplitude2;
  • int gain1;
  • int gain2;
  • int gain_range_l;
  • int gain_range_h;
  • float distance;
  • _iassign(16538,0xA1);
  • _iassign(16539,0x13);
  • _set_device_status(0xFF,0);
  • _set_xmtr_device_status(0xFF,0);
  • send_trans(132,141,status);
  • if (status[0])
  • {
  • display_response_status(132,status[0]);
  • process_abort();
  • }
  • amplitude1 = _ivar_value(16540) / 1000.0;


Please login for more