Go to Post Off season? More like on season, our season is always on. - joeweber [more]
Home
Go Back   Chief Delphi > Technical > Electrical
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 27-05-2012, 05:32
RyanN's Avatar
RyanN RyanN is offline
RyanN
AKA: Ryan Nazaretian
FRC #4901 (Garnet Squadron)
Team Role: Mentor
 
Join Date: Jun 2006
Rookie Year: 2005
Location: Columbia, SC
Posts: 1,126
RyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond repute
Re: On Board Computer

Quote:
Originally Posted by John View Post
Does the finish VI actually get called at the end of a real match? I was under the impression that it just returned to the teleop disabled vi. Please correct me if I'm wrong.
Hmm... good point. I think you're correct. The Finish VI is only called when you push the Finish button on the Robot Main VI, isn't it...

Well back to the drawing board...
__________________
Garnet Squadron
FRC 4901
Controls Mentor
@rnazaretian

Previous mentor and student from Team Fusion, FRC 364
  #2   Spotlight this post!  
Unread 27-05-2012, 19:11
John's Avatar
John John is offline
Registered User
AKA: John Gillespie
FRC #1153 (Roborebels)
Team Role: Mechanical
 
Join Date: Sep 2011
Rookie Year: 2009
Location: Walpole MA
Posts: 71
John is just really niceJohn is just really niceJohn is just really niceJohn is just really niceJohn is just really nice
Re: On Board Computer

Quote:
Hmm... good point. I think you're correct. The Finish VI is only called when you push the Finish button on the Robot Main VI, isn't it...

Well back to the drawing board...
This year, my team had lights on our robot, that we wanted to do something specific at the end of the match. I believe we put the command in Disabled, and added some logic to only use the command on the third time disabled is called (once at beginning of match, once after auto, once at the end).
  #3   Spotlight this post!  
Unread 28-05-2012, 02:31
linuxboy linuxboy is offline
Registered User
AKA: Oliver Graff
FRC #3780
Team Role: Alumni
 
Join Date: Nov 2010
Rookie Year: 2009
Location: MI, USA
Posts: 217
linuxboy has much to be proud oflinuxboy has much to be proud oflinuxboy has much to be proud oflinuxboy has much to be proud oflinuxboy has much to be proud oflinuxboy has much to be proud oflinuxboy has much to be proud oflinuxboy has much to be proud oflinuxboy has much to be proud of
Re: On Board Computer

Quote:
Originally Posted by RyanN View Post
Hmm... good point. I think you're correct. The Finish VI is only called when you push the Finish button on the Robot Main VI, isn't it...

Well back to the drawing board...
I'm not an LV programmer but I have had to work with it a little for FRC. I would put a variable in called something like teleopRan and initialize it to False. Then when teleop starts you can set it to True, then when Teleop Disabled is run have a if that checks if teleopRan is true and match time is greater than say... 119 seconds (so if it disconnects on the field it doesn't turn off the computer in case it reconnects) then shut off the computer. You'll want to test this with practice mode obviously.

- Oliver
Closed Thread


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 05:24.

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