Go to Post And, if you don't know what something means, say so, we'll be happy to explain. - DonRotolo [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 14-02-2011, 15:53
stormyweathers stormyweathers is offline
Registered User
FRC #3653
 
Join Date: Feb 2011
Location: US
Posts: 10
stormyweathers is an unknown quantity at this point
adding controls to the dashboard

When tuning the autonomous code, it gets excessively inefficient to have to rebuild and redeploy the code when tweaking scaling factors.
is there a way I can add a control onto the dashboard that can alter a defined variable on the fly?
Reply With Quote
  #2   Spotlight this post!  
Unread 14-02-2011, 16:30
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,113
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: adding controls to the dashboard

You don't have to build and deploy the code every time. When you're doing development, you can just "run" the Robot Main vi. If you do that, you have the vi front panels available to you on your development computer. Make your scaling factors LabVIEW controls and you'll be able to tweak them as much as you want while the program is running.

When you have the values you want, you can either replace the controls with constants or use the controls' popup menu to set the current value as the default.
Reply With Quote
  #3   Spotlight this post!  
Unread 15-02-2011, 11:40
stormyweathers stormyweathers is offline
Registered User
FRC #3653
 
Join Date: Feb 2011
Location: US
Posts: 10
stormyweathers is an unknown quantity at this point
Re: adding controls to the dashboard

i've tried doing that, but I cant actually control the robot that way.
how do I enable the robot if I just run main.vi?
the driverstation doesn't pop up
Reply With Quote
  #4   Spotlight this post!  
Unread 15-02-2011, 12:32
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,113
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: adding controls to the dashboard

Just run the FRC Driver Station application. It doesn't start by default when you log in as the Developer user.
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 20:35.

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