Go to Post No email, no telephone, no FIRST. I can't wait.... - RoboMom [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 16-02-2010, 18:44
kws4000's Avatar
kws4000 kws4000 is offline
Team Mentor - Programming
AKA: Krazy Karl
FRC #2405 (Divided by Zero)
Team Role: Mentor
 
Join Date: Feb 2010
Rookie Year: 2009
Location: Fruitport, MI
Posts: 164
kws4000 is a jewel in the roughkws4000 is a jewel in the roughkws4000 is a jewel in the roughkws4000 is a jewel in the rough
Re: Reversing Relay for motor

It makes sense...

I'll work it tomarrow.

Thanks
__________________
Mentoring:
1) Educating students on the ability to learn and have fun at the same time.
2) Giving back to those who made you who you are.

2009-2011 Student 2405 Electrical/Programming & Asst. Captain
2012-???? Mentor 2405 Programming/Jack-of-all-Trades
Reply With Quote
  #2   Spotlight this post!  
Unread 17-02-2010, 15:21
kws4000's Avatar
kws4000 kws4000 is offline
Team Mentor - Programming
AKA: Krazy Karl
FRC #2405 (Divided by Zero)
Team Role: Mentor
 
Join Date: Feb 2010
Rookie Year: 2009
Location: Fruitport, MI
Posts: 164
kws4000 is a jewel in the roughkws4000 is a jewel in the roughkws4000 is a jewel in the roughkws4000 is a jewel in the rough
Re: Reversing Relay for motor

This makes the most sense out of anything I've programmed to date, and a beutiful solution.

Thanks a whole bunch!
Reply With Quote
  #3   Spotlight this post!  
Unread 16-02-2011, 00:07
TEAM-3871 TEAM-3871 is offline
Registered User
FRC #3871
 
Join Date: Feb 2011
Location: US
Posts: 10
TEAM-3871 is an unknown quantity at this point
Re: Reversing Relay for motor

Hey we are a Rookie team and i was wonding how do you change the RelayValue input to blue... sorry dont know much about this program yet

Reply With Quote
  #4   Spotlight this post!  
Unread 16-02-2011, 00:32
WizenedEE's Avatar
WizenedEE WizenedEE is offline
Registered User
AKA: Adam
FRC #3238 (Cyborg Ferrets)
Team Role: Leadership
 
Join Date: Jan 2011
Rookie Year: 2010
Location: Anacortes, WA
Posts: 395
WizenedEE is a name known to allWizenedEE is a name known to allWizenedEE is a name known to allWizenedEE is a name known to allWizenedEE is a name known to allWizenedEE is a name known to all
Re: Reversing Relay for motor

Quote:
Originally Posted by TEAM-3871 View Post
Hey we are a Rookie team and i was wonding how do you change the RelayValue input to blue... sorry dont know much about this program yet

It's pretty simple, for every input and output to a function, if you hover your mouse over the wiring port to get the wiring mouse icon, right click, then go to create -> Constant, it will make a constant of the right type (you can do the same with controls and indicators). It's much faster than going into the number pallet or whatever.

In case you were wondering, the blue thing that says "Off" or "Forward" or whatever is called an "enum." The data type is simply a number, but the datatype makes it so that when there's a control or constant it gives a word instead of a number. In this case, it's much easier for the user to select "forward" than to remember that forward is 2, so they used an enum. They're in the numeric pallet, and you add the text by right clicking on them and selecting "Edit" (you can also do that to see which name is which number).

I assume that's what your talking about, because there are several different "blue things"
Reply With Quote
  #5   Spotlight this post!  
Unread 16-02-2011, 09:38
TEAM-3871 TEAM-3871 is offline
Registered User
FRC #3871
 
Join Date: Feb 2011
Location: US
Posts: 10
TEAM-3871 is an unknown quantity at this point
Re: Reversing Relay for motor

Ok thanks i will try that tonight...
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
Programming 2 buttons for a relay team877 NI LabVIEW 15 18-02-2011 00:18
boolean selector for relay control windell747 NI LabVIEW 6 15-02-2009 22:12
Reversing motors railerobotics Programming 5 16-01-2006 18:36
Reversing controls? Calvin Programming 10 14-03-2005 22:46
Relay for Pump q? MI28Driver Technical Discussion 2 31-01-2002 00:12


All times are GMT -5. The time now is 22:02.

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