Support

If you have a problem or need to report a bug please email : support@dsprobotics.com

There are 3 sections to this support area:

DOWNLOADS: access to product manuals, support files and drivers

HELP & INFORMATION: tutorials and example files for learning or finding pre-made modules for your projects

USER FORUMS: meet with other users and exchange ideas, you can also get help and assistance here

NEW REGISTRATIONS - please contact us if you wish to register on the forum

Users are reminded of the forum rules they sign up to which prohibits any activity that violates any laws including posting material covered by copyright

Need a trigger

For general discussion related FlowStone

Need a trigger

Postby bflynn » Thu Feb 23, 2012 7:49 pm

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!
bflynn
 
Posts: 5
Joined: Mon Dec 12, 2011 11:05 pm

Re: Need a trigger

Postby Morph » Thu Feb 23, 2012 9:57 pm

Hi,

Using the Timer primitive:
Sec-trigger.png
Sec-trigger.png (6.66 KiB) Viewed 17961 times


BTW i wonder where is the Counter primitive in FS2?
Morph
 
Posts: 53
Joined: Tue Jul 13, 2010 1:59 pm

Re: Need a trigger

Postby bflynn » Thu Feb 23, 2012 11:35 pm

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
bflynn
 
Posts: 5
Joined: Mon Dec 12, 2011 11:05 pm

Re: Need a trigger

Postby DSP » Fri Feb 24, 2012 6:47 pm

This is even simpler:

clip-13.png
clip-13.png (6.45 KiB) Viewed 17945 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.
DSP
 
Posts: 150
Joined: Fri May 14, 2010 10:55 pm

Re: Need a trigger

Postby bflynn » Mon Feb 27, 2012 3:19 pm

Thanks guys. This is what I came up with. This gets me the output i needed. A continuous cycle.
Attachments
capture2.png
capture2.png (23.35 KiB) Viewed 17932 times
bflynn
 
Posts: 5
Joined: Mon Dec 12, 2011 11:05 pm

Re: Need a trigger

Postby DSP » Wed Feb 29, 2012 12:13 am

Nice :)
DSP
 
Posts: 150
Joined: Fri May 14, 2010 10:55 pm


Return to General

Who is online

Users browsing this forum: Google [Bot] and 56 guests