+1

Cyclic Timer

D CBN 1 month ago in IQANdesign updated 11 hours ago 3

Hello,
I need a cyclic timer for raise a flag all 500 ms, setting by user by parameter.

The following code raise a flag all 520 ms:

Image 4602


It is not possible to have a cyclic timer directly ? if no, how to ?
Best Regards

A simple solution using only one channel could be with the delay properties in an IDC. 

Have a look at the solutions library "IDC blink" to see this idea.

With an "IDC Blink", it will not work correctly:
Delay_ON will be linked to Integer parameter in ms, and delay_off to null
In fact, total duration (Ton and Toff) shall be the value of iinteger parameter : it is the specifity of cyclic timer...
Any solution in one object can be done today ?

With an "IDC Blink", it will not work correctly:
Delay_ON will be linked to Integer parameter in ms, and delay_off to null
In fact, total duration (Ton and Toff) shall be the value of iinteger parameter : it is the specifity of cyclic timer...
Any solution in one object can be done today ?