Go Back   CodingForums.com > :: Computing & Sciences > Computer Programming

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 09-09-2009, 07:05 PM   PM User | #1
Zigzagzieg
New to the CF scene

 
Join Date: Sep 2009
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Zigzagzieg is an unknown quantity at this point
Question Timing Code

I'm fairly new to computer programing but i'm looking to find a code that would tell an object (i.e. piston or set of pistons) to fire every so often. How would I go about either building a program for that or getting a program that would do that for me? I would also need to be able to set the speed of the firing of each piston (i.e. piston 1 every 4 seconds and piston 2 every .15 seconds up to 9 pistons at different timeings) Any information you guys/girls are able to provide would be greatly appreciated. Thanks in advance
Zigzagzieg is offline   Reply With Quote
Old 09-09-2009, 07:52 PM   PM User | #2
tomws
Senior Coder

 
tomws's Avatar
 
Join Date: Nov 2007
Location: Arkansas
Posts: 2,644
Thanks: 29
Thanked 330 Times in 326 Posts
tomws will become famous soon enoughtomws will become famous soon enough
If you're wanting to use this with real machinery (rather than some simulation), you might be best served looking at PLCs (programmable logic controllers). Simple boxes were fairly cheap a few years ago when I last did anything with them. The programming in some cases can be simply a matter of drag-and-drop.
__________________
Are you a Help Vampire?
tomws is offline   Reply With Quote
Old 09-20-2009, 03:15 AM   PM User | #3
voyage09
New to the CF scene

 
Join Date: Sep 2009
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
voyage09 is an unknown quantity at this point
What kind of programming language are you doing to use?
voyage09 is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 09:37 AM.


Advertisement
Log in to turn off these ads.