Loading…

Method Name: laboratory_results

Method ID: 0x4009

Method Label: Lab results

Method Help: Calibrates selected recipe using laboratory results. Use first sample = 1-point calibration using first sample. Use second sample = 1-point calibration using second sample Use both samples = 2-point calibration using both samples


  • {
  • int result;
  • int recipe;
  • float filler;
  • float cons1;
  • float cons2;
  • long ids[2];
  • char status[3];
  • recipe = _ivar_value(16499);
  • do {
  • _get_local_var_value(literal_string(350),0,literal_string(351));
  • if (recipe < 1 || recipe > 8)
  • {
  • ACKNOWLEDGE(literal_string(352));
  • }
  • }
  • while (recipe < 1 || recipe > 8);
  • _iassign(16555,recipe);
  • _iassign(16560,recipe);
  • result = SELECT_FROM_LIST(literal_string(353),literal_string(354));


Please login for more