Hi,
i Need some help to use two different timers in cvi (use with CVICallback).
I have tried several things, but with no really good solution.
What i want to do:
1.) I have two timers ( 1rst: 10seconds 2nd: 20seconds)
2.) With a START button i want to start the first timer(only one cycle ->10secons)
3.) If the cycle from the 1rst timer is elapsed, the second timer should be started.(also only one cycle)
4.) If the cycle from the 2nd timer is elapsed, the first one should be started again.(only one cycle).
5.) if i press a STOP button, all timers should be reseted.
6.) If START is pressed again ......Point Nr. 2...
It is like a pulse Generator, but i want to start every pulse manually.
I have written a code, with Timer CVICallback and Events: EVENT_TIMER_TICK....
Maybe anyone can give me a short example.
Many thanks,