Go to Post I heard that the only gift UFH wants on its birthday is an inbox full of nominations. :D - Brandon Martus [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 26-01-2009, 21:57
Lancer Robotics Lancer Robotics is offline
Registered User
FRC #2437 (Lancer Robotics)
Team Role: Coach
 
Join Date: Oct 2007
Rookie Year: 2007
Location: Hawaii
Posts: 16
Lancer Robotics is a glorious beacon of lightLancer Robotics is a glorious beacon of lightLancer Robotics is a glorious beacon of lightLancer Robotics is a glorious beacon of lightLancer Robotics is a glorious beacon of light
Smile Intricate Case Structure Question

So far we have accomplished the coding for our first button, which worked. Now, we want to create a code in which we are able to press a button which will cue the motors to run. When we press the button the second time, we want that to cue the motors to stop running.

We have run into an obstacle regarding the case structures should be coded.

Any ideas?
Reply With Quote
  #2   Spotlight this post!  
Unread 26-01-2009, 22:10
TotalChaos's Avatar
TotalChaos TotalChaos is offline
Registered User
AKA: Austin
FRC #2837 (Freebird Robotics)
Team Role: College Student
 
Join Date: Apr 2008
Rookie Year: 2006
Location: Gilbert AZ
Posts: 112
TotalChaos has much to be proud ofTotalChaos has much to be proud ofTotalChaos has much to be proud ofTotalChaos has much to be proud ofTotalChaos has much to be proud ofTotalChaos has much to be proud ofTotalChaos has much to be proud ofTotalChaos has much to be proud ofTotalChaos has much to be proud ofTotalChaos has much to be proud of
Send a message via MSN to TotalChaos
Re: Intricate Case Structure Question

Hi there!

I've seen this question around a few times, and I have an example of how to code the case structures to do exactly what you're wanting. Feel free to check out the VI attached. The code has documentation inside of it, so I won't explain it here. Also, in the example the code is set up to toggle a relay, however its could easily be modified to be used with jaguars or victors for motor speed control, but at the very least it'll give you a start on how to set up the case structure.

Good luck!

- Austin
Attached Files
File Type: vi Button Toggle Example.vi (94.0 KB, 194 views)
__________________
The 39th Aero Squadron - Team 39! (Visit our website!)
Team Role: 3 Years as Driver - College Student/Mentor!


Freebird Robotics - On a 1 year hiatus! (Visit our website!)
Arizona 2009: Semifinalists! (69 and 498), Delphi "Driving Tomorrow's Technology" Award

Last edited by TotalChaos : 26-01-2009 at 22:12.
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
Bylaws in Team structure??? rbailey11@metro General Forum 18 02-07-2009 12:52
More than boolean Case Structure... Nimrod Beker NI LabVIEW 6 14-01-2009 11:05
Quick Question about team structure... The Mascot Team Organization 3 10-05-2007 11:53
FVC Tournament Structure nonother Championship Event 4 18-03-2007 21:51
Question: Carrying Case UIDzero Technical Discussion 10 10-11-2003 14:35


All times are GMT -5. The time now is 08:21.

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