Go to Post In my book the team building experience of the kids training the engineers in the operations on the field would be invaluable. It might not get a trophy but you win far more in the long run. - Wayne C. [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

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #2   Spotlight this post!  
Unread 22-03-2016, 13:41
vhcook's Avatar
vhcook vhcook is offline
Reader of Things
AKA: Victoria
FRC #1939 (Kuh-nig-its)
Team Role: Mentor
 
Join Date: Feb 2007
Rookie Year: 2006
Location: Kansas City, MO
Posts: 546
vhcook has a reputation beyond reputevhcook has a reputation beyond reputevhcook has a reputation beyond reputevhcook has a reputation beyond reputevhcook has a reputation beyond reputevhcook has a reputation beyond reputevhcook has a reputation beyond reputevhcook has a reputation beyond reputevhcook has a reputation beyond reputevhcook has a reputation beyond reputevhcook has a reputation beyond repute
Re: Autonomous Help

In your second frame of your sequence, you don't actually tell the wedge arm motor to stop. You need to set output to 0 for that device for it to stop, otherwise it just keeps doing the last thing you told it.

Really, you should have three sequence frames here.
1. One second wait and the code you have for the wedge arm motor,
2. Five second wait, the wedge arm motor stop, and the drivetrain start
3. Stop the drivetrain.

Right now, your first frame ends as soon as you set the motor. If you put a wait block in that first sequence frame for 1 second, that will get it to last a full second. This doesn't have to be connected to any of the other items in that block -- Labview won't leave that frame of the sequence until everything in it has completed. What you're doing in your second frame would have worked without the sequence structure.
__________________



Last edited by vhcook : 22-03-2016 at 13:49. Reason: Noticed a second thing
Reply With Quote
 


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 20:43.

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