Go to Post I thought we agreed to just put up a teaser, not a picture of the robot! - IBdrummer [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 30-01-2014, 12:44
ElectricNoodle's Avatar
ElectricNoodle ElectricNoodle is offline
Registered User
AKA: Ted Pabst
FRC #2789 (TEXsplosion)
Team Role: Programmer
 
Join Date: May 2013
Rookie Year: 2011
Location: Manor, TX
Posts: 9
ElectricNoodle is an unknown quantity at this point
How do Dashboard Projects Work

So we're planning on using a dashboard project for the first time this year, and there's one small problem. I have no idea how they work. Do you load them on your c-Rio? Do they have to relate to your robot project in some way? How do you get them to run when you're using the drive station and running robot code simultaneously?
__________________
#code on code on code
Reply With Quote
  #2   Spotlight this post!  
Unread 30-01-2014, 15:36
Owen Makin Owen Makin is offline
Registered User
FRC #1972
 
Join Date: Jan 2013
Location: CUHS El Centro
Posts: 50
Owen Makin is an unknown quantity at this point
Re: How do Dashboard Projects Work

Once you have your dashboard coded, you build it like you would a crio project, then once its built you right click and select explore to find the location of the file, and you transfer it to where your original dashboard program is located. All of this can be found by going to the tutorial on the side of the start up screen. It really helps to go through all of it. It should answer all of your questions
Reply With Quote
  #3   Spotlight this post!  
Unread 30-01-2014, 16:16
wt200999's Avatar
wt200999 wt200999 is offline
Texas Instruments
AKA: Will Toth
FRC #3005 (Robochargers)
Team Role: Mentor
 
Join Date: Mar 2006
Rookie Year: 2004
Location: Dallas, Texas
Posts: 325
wt200999 has much to be proud ofwt200999 has much to be proud ofwt200999 has much to be proud ofwt200999 has much to be proud ofwt200999 has much to be proud ofwt200999 has much to be proud ofwt200999 has much to be proud ofwt200999 has much to be proud ofwt200999 has much to be proud of
Send a message via MSN to wt200999
Re: How do Dashboard Projects Work

To be a little more clear about what the separation is between the two:

The dashboard project is a normal LabVIEW project, where you build and run it with windows as its target machine. When you build it, it is compiled into an .exe file, which you use on your driver station. This program talks to the driver station, and can also talk to the robot.

The robot project is a real-time LabVIEW project, where you build and run it on the cRio. When you build it, it is compiled specifically to run on the cRio target. This program also talks to the driver station.
__________________
Programming in LabVIEW? Try VI Snippets!

FIRST LEGO League 2004 - 2005
FRC Team 870 Student 2006 - 2009
FRC Team 3005 Mentor 2013 -

Last edited by wt200999 : 30-01-2014 at 16:19.
Reply With Quote
  #4   Spotlight this post!  
Unread 31-01-2014, 13:12
gnunes gnunes is offline
Registered User
FRC #1391 (Metal Moose)
Team Role: Mentor
 
Join Date: Jan 2011
Rookie Year: 2011
Location: Westtown School
Posts: 57
gnunes has a spectacular aura aboutgnunes has a spectacular aura aboutgnunes has a spectacular aura about
Re: How do Dashboard Projects Work

You might find Chapter 8 of this book helpful:

http://www.chiefdelphi.com/forums/showpost.php?p=1308755&postcount=18

It has not been revised for the 2014 code yet, but there are not huge changes. You should be able to sort it out. (Revisions to match 2014 should be posted in less than a week.)
Reply With Quote
  #5   Spotlight this post!  
Unread 31-01-2014, 14:15
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,752
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: How do Dashboard Projects Work

You are getting good advice from the above posts. If they don't address your questions, please follow up with more specific questions.

For a high level description. The templates have the targets properties and build scripts set for you. The robot project runs on the robot or in some situations on a simulated robot. The dashboard always runs on a laptop.

The driver station, which also runs on the laptop, will attempt to run your dashboard. It has selectors for Default, LV, Java, etc. These simply choose different paths and EXE names to launch and again match the templates.

Communication between DS and dashboard and robot and dashboard is supported, and the templates include some of it already. For example, the DS sends robot mode and voltage via the UDP protocol. Additionally, the robot and dashboard are both running SmartDashboard client/server code and share named variables with the icons in the SD palette.

Greg McKaskle
Reply With Quote
  #6   Spotlight this post!  
Unread 31-01-2014, 14:16
Invictus3593's Avatar
Invictus3593 Invictus3593 is offline
time you like wasting is not wasted
FRC #3593 (Team Invictus)
Team Role: Leadership
 
Join Date: Jan 2013
Rookie Year: 2010
Location: Tulsa, OK
Posts: 318
Invictus3593 is just really niceInvictus3593 is just really niceInvictus3593 is just really niceInvictus3593 is just really nice
Re: How do Dashboard Projects Work

The dashboard does not go on the crio, it is simply a customizable control interface that can display sensor feedback and set values to your robot without a controller. You can also use it to do your vision processing, since the crio can be easily bogged down by it.

When you open a dashboard project, the main difference you'll see is that the only .vi you should edit is Dashboard Main.vi. It contains everything you need to run the program, unlike the robot project.

Like gnunes said, chapter 8 of The Secret Book of FRC LabVIEW is a great learning tool and the dashboard is one of the most important components of your operator console. My advice is to use it as much as possible!
__________________
Per Audacia Ad Astra
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: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