Loading…

Method Name: check_fst_conf_method

Method ID: 0x4728

Method Label: Check the Validity of FST Settings

Method Help:


  • {
  • float ramp_time;
  • float strk_time;
  • float comp_time;
  • int warn_count;
  • ramp_time = 100 / fst_ramp_rate;
  • strk_time = ramp_time + fst_pause_time;
  • comp_time = strk_time * 2;
  • warn_count = 0;
  • ACKNOWLEDGE("|en|Check if there is a valid relationship between the FST settings and FST Breakout Timeout, FST Stroke Travel Timeout, and FST Completion Timeout.");
  • if(fst_breakout_timeout < 1)
  • {
  • ACKNOWLEDGE("|en|%[L]{fst_breakout_timeout} is too short.\n");
  • warn_count ++;
  • }
  • if(fst_breakout_timeout > strk_time)
  • {
  • ACKNOWLEDGE("|en|%[L]{fst_breakout_timeout} is too long.\nIt shoud be set shorter than %[.2f]{strk_time} %[U]{fst_breakout_timeout}");
  • warn_count ++;
  • }


Please login for more