Duration and Option
The minimum duration is set with an argument to the SetPSOConfig function. When the PSO comparison yields true and the output is set, the output will be held for the specified duration after the PSO comparison no longer yields true. For example, if the minimum duration is set to 2000 and the comparison type is Equal, the output will be set to 1 for 2 seconds after the source passes through a data point. After this duration, the output will be set to 0. If the source passes through another data point before this duration elapses, the duration is reset back to 2 seconds.
If the minimum duration is set to 0, the output will be set to 1 only on the cycles that the PSO comparison yields true. The output will be set to 0 on the other cycles.
Other options are specified with the PSOOption class. The options that can be specified with this class are as follows.