Hi Mikhail,
I’m need to execute My Function () at a time interval specific by the user (thru input channel 140). Understand that Rapid SCADA have a Timer function
EveryPeriod(Func<CnlData> getDataFunc, long period, long execSpan)
Please advise me how to use this funtion to achieve my Task.
In addition, I’m notice that under EverySec(Func<CnlData> getDataFunc), EveryPeriod function is calling
EveryPeriod(getDataFunc, TimeSpan.TicksPerSecond, TimeSpan.TicksPerMillisecond * 500);
Why TimeSpan.TicksPerMilisecond need multiply by 500? Or actually what is the «execSpan» meaning?
I’m sorry if my question look silly as my programming skills are very very basic.
Thank you.