Loading…

Method Name: FO1KFactorMethod

Method ID: 0x400C

Method Label: Display K-factor

Method Help: This displays the calculated K-factor and inverse K-factor for frequency output 1 based on the displayed maximum frequency and upper range


  • {
  • float kFactor;
  • float inverseKFactor;
  • float upperRange;
  • int rateTimeUnit;
  • int maxFrequency;
  • int content;
  • long id[1];
  • upperRange = _fvar_value(16397);
  • maxFrequency = _ivar_value(16398);
  • rateTimeUnit = _ivar_value(16399);
  • if (upperRange != 0.0)
  • {
  • kFactor = maxFrequency / upperRange;
  • switch (rateTimeUnit)


Please login for more