This addresses issue #99.
It adds a new variable NUMBER_OF_ITERATIONS for the CONTROL_LOOP_TIME_TYPE and getter and setter methods cmfe_ControlLoop_TimesGet and cmfe_ControlLoop_TimesSet.
By default, NUMBER_OF_ITERATIONS has the value 0 and is computed the first time the loop gets executed. If one does not set NUMBER_OF_ITERATIONS everything stays the same as usual. If it is set, it overrides the meaning of TIME_INCREMENT. If the number of iterations with the given value of TIME_INCREMENT would be different from NUMBER_OF_ITERATIONS, the value of TIME_INCREMENT is updated to the correct new value.
This addresses issue #99. It adds a new variable
NUMBER_OF_ITERATIONS
for theCONTROL_LOOP_TIME_TYPE
and getter and setter methodscmfe_ControlLoop_TimesGet
andcmfe_ControlLoop_TimesSet
.By default,
NUMBER_OF_ITERATIONS
has the value 0 and is computed the first time the loop gets executed. If one does not setNUMBER_OF_ITERATIONS
everything stays the same as usual. If it is set, it overrides the meaning ofTIME_INCREMENT.
If the number of iterations with the given value ofTIME_INCREMENT
would be different fromNUMBER_OF_ITERATIONS
, the value ofTIME_INCREMENT
is updated to the correct new value.