Go to Post But, ya never know, Dave's out to mess with our heads... - Kyle Love [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 04-02-2010, 18:45
K Lenox's Avatar
K Lenox K Lenox is offline
I AM GOD IN GEARS OF WAR!!!!
FRC #2632 (Comets Unleashed)
Team Role: Programmer
 
Join Date: Jan 2010
Rookie Year: 2009
Location: Amherst
Posts: 26
K Lenox is an unknown quantity at this point
Changing constants to variables in LabVIEW?

Hello, I am Kyle Lenox of the Amherst Robotics team.

I was wandering if there is a way to change the constants to varibles in labVIEW. The idea is that if the constants were varibles, you could take less time building and running the LabVIEW data.

Or, if there was a way to change the iputs on the dashboard. By doing this you could edit speed controls, legth of time, (etc.) and not hace to shut down the Dashboard, open up LabVIEW, edit the code, build it, run it at start-up. If that is possible please let me know!!

Thanks, any bit of know-how is appreciated!
Kyle Lenox
Team 2632
__________________
[font="Times New Roman"]
You never saw this message
You never read this
You will read the next available object within sight



Why are you still reading this???  Begone with you!!!
[SIGPIC]
Reply With Quote
  #2   Spotlight this post!  
Unread 04-02-2010, 18:47
hamosad1657 hamosad1657 is offline
Registered User
FRC #1657
 
Join Date: Jan 2010
Rookie Year: 2005
Location: Israel
Posts: 23
hamosad1657 is an unknown quantity at this point
Re: Changing constants to variables in LabVIEW?

Just right click on the input of VI, ->Create->Control.


Good luck!
Reply With Quote
  #3   Spotlight this post!  
Unread 04-02-2010, 21:11
Luke Pike's Avatar
Luke Pike Luke Pike is offline
Programmer
FRC #1501 (THRUST)
Team Role: Mentor
 
Join Date: Jan 2008
Rookie Year: 2008
Location: Huntington
Posts: 114
Luke Pike is a name known to allLuke Pike is a name known to allLuke Pike is a name known to allLuke Pike is a name known to allLuke Pike is a name known to allLuke Pike is a name known to all
Re: Changing constants to variables in LabVIEW?

After you turn them into controls and edit their values during debug, make sure that you go into the edit menu and select "make current values default" so that the values stay when you download the final code.
__________________
Twitter Profile
Reply With Quote
  #4   Spotlight this post!  
Unread 04-02-2010, 22:18
Greg McKaskle Greg McKaskle is offline
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,748
Greg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond repute
Re: Changing constants to variables in LabVIEW?

All good suggestions. You can also right click on a constant and Change to Control.

Greg McKaskle
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
[FTC]: Help with LabView and variables? cougarbytes FIRST Tech Challenge 2 29-12-2009 15:57
HELP!!! BOOLEAN VARIABLES IN LABVIEW PRAWG Programming 2 07-02-2009 18:44
Making global variables in LabVIEW. Joshamuffin National Instruments LabVIEW and Data Acquisition 1 19-01-2009 13:35
[FTC]: Variables in labview wilsonmw04 FIRST Tech Challenge 2 23-11-2008 08:57
Labview dashboard and multiple variables Joe Ross LabView and Data Acquisition 2 15-03-2006 21:55


All times are GMT -5. The time now is 04:00.

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