Go to Post I encourage the communication of constructive ideas on how to make FIRST a better program. - meaubry [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-2011, 19:15
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,833
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: Multiple outputs

Here's what you need:

1) Add a Motor reference (this motor needs to be opened in Begin.vi)

2) Put the cursor on the cases and right-click to choose "Add Case for Every Value"
Then look for every new case that needs a motor value added to it.
The output tunnel carrying the motor value will be solid when you have them all. It'll have a white center if you haven't fixed all the missing cases.
Attached Thumbnails
Click image for larger version

Name:	AddMotorRef.jpg
Views:	24
Size:	17.4 KB
ID:	9834  Click image for larger version

Name:	AddEveryCase.jpg
Views:	22
Size:	38.0 KB
ID:	9835  
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle

Last edited by Mark McLeod : 26-01-2011 at 19:31.
Reply With Quote
  #2   Spotlight this post!  
Unread 26-01-2011, 23:34
robotjac robotjac is offline
Registered User
no team
 
Join Date: Jan 2011
Location: San Diego, CA
Posts: 5
robotjac is an unknown quantity at this point
Re: Multiple outputs

Thank you! Everything is working great now.
Reply With Quote
  #3   Spotlight this post!  
Unread 02-02-2011, 15:46
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,833
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: Multiple outputs

As an aside, here is how I would select between multiple joystick or custom DS buttons.
Attached Thumbnails
Click image for larger version

Name:	WhichButton.jpg
Views:	139
Size:	23.3 KB
ID:	9938  
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle

Last edited by Mark McLeod : 03-02-2011 at 07:15.
Reply With Quote
  #4   Spotlight this post!  
Unread 02-02-2011, 15:54
IisMathwizard's Avatar
IisMathwizard IisMathwizard is offline
Programming Mentor
AKA: Mathwizard
FRC #1248 (Titanium Allies)
Team Role: Mentor
 
Join Date: Jan 2011
Rookie Year: 2009
Location: Berea-Midpark High school
Posts: 60
IisMathwizard is an unknown quantity at this point
Re: Multiple outputs

I would've broke both the motors up into two case structures and then have a boolean series hooked up to nested case structures.
__________________

jRIO 2013 Project
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


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

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