Go to Post We have a lot of rookies, and I can't wait to see the inspiration on their faces. - Karibou [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

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #3   Spotlight this post!  
Unread 12-02-2011, 09:12
baronep's Avatar
baronep baronep is offline
Student President
FRC #2848 (Jesuit All-Sparks)
Team Role: Leadership
 
Join Date: Jan 2010
Rookie Year: 2010
Location: Dallas TX
Posts: 167
baronep is on a distinguished road
Re: Passing Globals through to the dashboard

First you have to create a new dashboard project just as you would a robot project. In the project explorer you should have a typedef file. This file basically defines what information is passed in each bundle between the robot and dashboard. You need to have identical typedef files on both the dashboard project and robot project. In order to add the global to the dashboard you will have to add controls that are exactly the same as the front-panel of your global variable to the typedef front-panel. Once you've done this (on both projects), you can switch to block diagram view and you should see an extra input on the bundle block, this is where you plug in your global variable. Similarly, you should see an output on the unbundle block in the dashboard project. Then, you have to replace the existing dashboard executable with the one that you made (you have to build it first). I don't exactly remember how you transfer the dashboard project to the classmate but it is something along the lines of replacing the existing dashboard executable with the one generated when you build the project.

Hope this helps,

baronep
Reply With Quote
 


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 09:17.

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