Loading…

Method Name: calibrate_zero_span_reset

Method ID: 0x400B

Method Label: Zero/Span/Reset Cali

Method Help: Trim Measurement and update Zero or Span Adjustment Value.Adjustment Values will be reset to zero at the start of execution.


  • {
  • char status[3];
  • long id[2];
  • int x;
  • int y;
  • int z1;
  • int z2;
  • float x1;
  • float x2;
  • float x3;
  • float x4;
  • while (1)
  • {
  • x = SELECT_FROM_LIST(literal_string(118),literal_string(119));
  • if (x == 0)
  • {
  • _add_abort_method(16418);
  • send(147,status);
  • if (status[0])
  • {
  • display_response_status(147,status[0]);
  • DELAY(2,literal_string(107));
  • process_abort();
  • }
  • x1 = correction_value_at_zero;
  • x2 = correction_value_at_span;
  • y = SELECT_FROM_LIST(literal_string(120),literal_string(113));
  • if (y == 0)
  • {
  • _iassign(16415,1);
  • send(149,status);
  • if (status[0])
  • {
  • display_response_status(149,status[0]);
  • DELAY(2,literal_string(107));
  • process_abort();
  • }


Please login for more