Go to Post Remember that the reason that you do something should NEVER be for the sole purpose of winning an award. To paraphrase something said by one of the Hall of Fame teams: "You should choose to do something because it is fun and the right thing to do." - tim-tim [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 Rating: Thread Rating: 2 votes, 5.00 average. Display Modes
Prev Previous Post   Next Post Next
  #3   Spotlight this post!  
Unread 14-03-2009, 21:43
Shivang1923 Shivang1923 is offline
I make robot go VROOM VROOM!
FRC #1923 (MidKnight Inventors)
Team Role: Programmer
 
Join Date: Feb 2008
Rookie Year: 2008
Location: West Windsor, NJ
Posts: 38
Shivang1923 has a spectacular aura aboutShivang1923 has a spectacular aura about
Re: Programming toggle switches to DS for different autonomous routines?

for the switches

You could just place this in the "other", "default" case in the robotmain vi for basic framework
and for advanced framework in disable vi "execute" case

my code uses less switches, and converts them into a number, you can just modify it as you need.

as for the drive commands, i would say do as Mark said, but i dont think it should make a difference except for the crab drive sections, and that is because the device refrences force a chain, but to be safe you should chain the errors like mark said.
Attached Files
File Type: vi GetSwitch.vi (9.4 KB, 52 views)

Last edited by Shivang1923 : 14-03-2009 at 21:46.
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Programming Toggle Switches in Labview seanl Programming 1 16-02-2009 13:02
Multiple programs/autonomous routines galewind Programming 12 09-01-2004 22:25
Autonomous Routines Powers Rules/Strategy 15 10-04-2003 10:27
3 way toggle switch programming LeadRiccardoT Programming 3 17-02-2003 02:02
Wiring custom toggle switches into operator interface DanL Electrical 9 13-02-2002 17:13


All times are GMT -5. The time now is 20:26.

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