Go to Post Work hard. Then work even harder. Work until there is nothing left to work on, then work more. - RoboChair [more]
Home
Go Back   Chief Delphi > FIRST > General Forum
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 08-02-2010, 15:12
delifresh delifresh is offline
Registered User
FRC #3205
 
Join Date: Feb 2010
Location: Concord, MA
Posts: 1
delifresh is an unknown quantity at this point
How to Combine Dashboard and Main Program?

How do you combine the FRC dashboard projects with the main projects? I have all the buttons lined out but don't know what to do with them. Should I open them all and just attach them to robotmain.vi? Should I just specify their channels and will they input into the values used by the program? I'm confused. Do I have to ever put my main program into my dashboard program?
Reply With Quote
  #2   Spotlight this post!  
Unread 08-02-2010, 15:24
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: How to Combine Dashboard and Main Program?

Simple answer: don't combine them.

The Dashboard runs on the PC. The robot program runs on the cRIO. They do not get mixed together. They do not share code. You just have to make sure to keep them coordinated if you're changing what is included in the data stream. The data expected by the Dashboard needs to match what the robot is sending.
Reply With Quote
  #3   Spotlight this post!  
Unread 08-02-2010, 15:29
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,899
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: How to Combine Dashboard and Main Program?

They are two separate programs that just happen to communicate with one another.

The Dashboard code and the Robot code are not combined, although they can be placed into the same project. It's just as easy to keep the projects separated.

If you do combine them into the same project, then they are still separated by the target platform. The Dashboard goes under "My Computer" and the Robot code goes under "RT CompactRIO Target"
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
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
Dashboard and Robot main with Axis camera Team2883 General Forum 9 10-01-2009 07:35
Makin' a home-brewn dashboard program, and I need theory help! DanL Programming 33 05-07-2002 01:26
How About A Palm Dashboard Program? archiver 2001 0 24-06-2002 00:52
How do multipliers combine??? archiver 2001 2 23-06-2002 22:40


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

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