Go to Post FIRST has always been less than just a school activity for me and more of a way of everyday life. - Amanda Morrison [more]
Home
Go Back   Chief Delphi > Technical > Programming > NI LabVIEW
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 10-02-2014, 18:44
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,795
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: Coding in a sequence.

That will work as is in Periodic Tasks.
Just drop it by itself onto the Block Diagram.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
Reply With Quote
  #2   Spotlight this post!  
Unread 10-02-2014, 19:11
DarthMaulCIS DarthMaulCIS is offline
Registered User
FRC #4607
 
Join Date: Jan 2014
Location: Becker, Minnesota
Posts: 24
DarthMaulCIS is an unknown quantity at this point
Re: Coding in a sequence.

Quote:
Originally Posted by Mark McLeod View Post
That will work as is in Periodic Tasks.
Just drop it by itself onto the Block Diagram.
Sweet. I added solenoids in with the motor. In Begin, the solenoid starts in Forward, then in Periodic, the solenoid is retracted when Button 1 is pressed, then 1 sec later, the motor starts, then after X seconds, the motor stops and then the solenoid goes back to Forward. Does that describe the pic I have?
Attached Thumbnails
Click image for larger version

Name:	periodic.png
Views:	26
Size:	24.6 KB
ID:	16202  
Reply With Quote
  #3   Spotlight this post!  
Unread 10-02-2014, 19:23
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,795
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: Coding in a sequence.

Looks good.

The only change I'd make is to the very first 2 sec. timer directly under "Button 1"
I'd change that to "20"

That's just because new driver commands arrive every 20ms and you really don't want the driver to have to wait 2 seconds to find out if he/she pushed the button correctly. That might annoy the drivers a little.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle

Last edited by Mark McLeod : 11-02-2014 at 16:10.
Reply With Quote
  #4   Spotlight this post!  
Unread 11-02-2014, 16:09
DarthMaulCIS DarthMaulCIS is offline
Registered User
FRC #4607
 
Join Date: Jan 2014
Location: Becker, Minnesota
Posts: 24
DarthMaulCIS is an unknown quantity at this point
Re: Coding in a sequence.

Quote:
Originally Posted by Mark McLeod View Post
Looks good.

The only change I'd make is to the very first 2 sec. timer directly under "Button 1"
I'd change that to "20"

That's just because new driver commands arrive every 20ms and you really don't want the driver to have to wait 2 seconds to find out if he/she pushed the button correctly. That might annoy the driver's a little.
Ohhhk. So that's what that's for. Thank you guys!
Reply With Quote
Reply


Thread Tools
Display Modes 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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 09:56.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi