Go to Post If it's the loss of American lives that concerns the nation, why not campaign aggressively against smoking, or improve automobile safety? At least then, the benefits will be tangible, and substantially more significant to the well being of the locals. - Tristan Lall [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 03-02-2010, 19:25
just_wondering just_wondering is offline
Newbie :)
FRC #3202 (Knightbots)
Team Role: Programmer
 
Join Date: Jan 2010
Rookie Year: 2010
Location: St. Paul
Posts: 14
just_wondering is an unknown quantity at this point
Unhappy Sequences

We are trying to program the motor to go forward a certain speed and then go back. We put this in sequence and there is an error. Please help. The following attachment is our program
Attached Thumbnails
Click image for larger version

Name:	rsz_2untitled.jpg
Views:	52
Size:	29.3 KB
ID:	8487  
Reply With Quote
  #2   Spotlight this post!  
Unread 03-02-2010, 22:22
Greg McKaskle Greg McKaskle is offline
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,751
Greg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond repute
Re: Sequences

The red X with two arrow heads point towards it indicates that two data sources are connected together. In this diagram, the constant produces data and so does the subVI outside the sequence.

What was the desired effect of connecting those together?

Greg McKaskle
Reply With Quote
  #3   Spotlight this post!  
Unread 03-02-2010, 23:11
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,112
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: Sequences

Is this something like what you wanted? (Note that it doesn't feed the watchdog. You'll need to do that if you want to do things this way.)
Attached Thumbnails
Click image for larger version

Name:	sequence.jpg
Views:	40
Size:	21.1 KB
ID:	8500  
Reply With Quote
  #4   Spotlight this post!  
Unread 05-02-2010, 08:24
jmanela's Avatar
jmanela jmanela is offline
+1 is BIGGER than -1
AKA: Joshua Manela
FRC #2586 (Fondy Fire)
Team Role: College Student
 
Join Date: Aug 2008
Rookie Year: 2009
Location: Michigan
Posts: 314
jmanela is a splendid one to beholdjmanela is a splendid one to beholdjmanela is a splendid one to beholdjmanela is a splendid one to beholdjmanela is a splendid one to beholdjmanela is a splendid one to beholdjmanela is a splendid one to behold
Re: Sequences

however *don't quote me on this* if you put this in your teleop, or auto or whatever you are putting it into, you can't use a wait vi because it halts the rest of your program. I wrote a state machine to do this so that the code continuously loops, but can still be timed. If you want some more info, go to LVmastery.com and look at the state machine tutorial.
__________________
||2009|| Entrepeneurship Award, QF - Traverse City | Rookie All Star, QF - Detroit | Highest Rookie Seed, Rookie All Star, QF - Michigan State Championship | Finalist - MARC ||2010|| Engineering Inspiration, Website Award, SF- Kettering | Judges Award, Website Award, SF - Detroit | Website Award, Winner, Michigan State Champ //Thank you 469 and 1918!! | Finalist - MARC ||2011|| Engineering Inspiration, Website - Kettering | Entrepreneurship, Website, Finalist - Waterford | Website - MSC
Reply With Quote
  #5   Spotlight this post!  
Unread 05-02-2010, 16:09
just_wondering just_wondering is offline
Newbie :)
FRC #3202 (Knightbots)
Team Role: Programmer
 
Join Date: Jan 2010
Rookie Year: 2010
Location: St. Paul
Posts: 14
just_wondering is an unknown quantity at this point
Re: Sequences

Quote:
Originally Posted by Alan Anderson View Post
Is this something like what you wanted? (Note that it doesn't feed the watchdog. You'll need to do that if you want to do things this way.)
That is what I wanted thanks!!!
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
PrintToScreen vs printf escape sequences rwood359 Programming 0 02-09-2008 15:18
RC Secret Key Sequences tdlrali Programming 9 05-02-2007 07:16


All times are GMT -5. The time now is 11:48.

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