Page 1 of 1
Need a trigger
Posted: Thu Feb 23, 2012 7:49 pm
by bflynn
Im trying to make a trigger that will trigger an output once every 2 secs. Any ideas? or a tick that would trigger once every 1.5 to 2 secs?
Thanks guys!
Re: Need a trigger
Posted: Thu Feb 23, 2012 9:57 pm
by Morph
Hi,
Using the Timer primitive:

- Sec-trigger.png (6.66 KiB) Viewed 19188 times
BTW i wonder where is the Counter primitive in FS2?
Re: Need a trigger
Posted: Thu Feb 23, 2012 11:35 pm
by bflynn
Thanks Morph!!! Thats way better than the one i came up with!! I'll give it a try tomorrow and let ya know.
Thanks again
Re: Need a trigger
Posted: Fri Feb 24, 2012 6:47 pm
by DSP
This is even simpler:

- clip-13.png (6.45 KiB) Viewed 19172 times
Both this and the one from Morph use the Windows Timers, which are not very accurate but fine for display etc.
If you want it to be super accurate you can make one using the Ruby module, this uses a different more accurate timers.
Re: Need a trigger
Posted: Mon Feb 27, 2012 3:19 pm
by bflynn
Thanks guys. This is what I came up with. This gets me the output i needed. A continuous cycle.
Re: Need a trigger
Posted: Wed Feb 29, 2012 12:13 am
by DSP
Nice
