Go to Post Ooohh!! Fire!! - dlavery [more]
Home
Go Back   Chief Delphi > Technical > Programming > C/C++
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
  #1   Spotlight this post!  
Unread 16-03-2010, 03:05
Travis Hoffman's Avatar Unsung FIRST Hero
Travis Hoffman Travis Hoffman is offline
O-H
FRC #0048 (Delphi E.L.I.T.E.)
Team Role: Engineer
 
Join Date: Sep 2001
Rookie Year: 2001
Location: Warren, Ohio USA
Posts: 4,045
Travis Hoffman has a reputation beyond reputeTravis Hoffman has a reputation beyond reputeTravis Hoffman has a reputation beyond reputeTravis Hoffman has a reputation beyond reputeTravis Hoffman has a reputation beyond reputeTravis Hoffman has a reputation beyond reputeTravis Hoffman has a reputation beyond reputeTravis Hoffman has a reputation beyond reputeTravis Hoffman has a reputation beyond reputeTravis Hoffman has a reputation beyond reputeTravis Hoffman has a reputation beyond repute
Enabling Default Dashboard in C++

I'm trying to get the default LabVIEW dashboard indicators to update (so I can then pursue some customizations). I'm using WindRiver C++. I'm borrowing our code template we used last season (shared online so it's rules-friendly, not that anyone would want to use it ). On the surface, I think I ported over the dashboard specific code from this year's template properly. I did get the dashboard to display the camera feed, but the IO status indicators are not updating. Can anyone set me down the right path? I use the IterativeRobot class.

Code:
 
//Stuff in .h file
 
#include"DashboardDataSender.h"
 
DashboardDataSender *dds;
Code:
 
//Stuff in .cpp file
 
#include"DashboardDataSender.h"
 
//Dashboard Data Sender
dds = new DashboardDataSender();
//Update Dashboard Data
dds->sendIOPortData();
Should I be calling the sendIOPortData() method in a specific location? Am I missing anything else?


Thanks,
__________________

Travis Hoffman, Enginerd, FRC Team 48 Delphi E.L.I.T.E.
Encouraging Learning in Technology and Engineering - www.delphielite.com
NEOFRA - Northeast Ohio FIRST Robotics Alliance - www.neofra.com
NEOFRA / Delphi E.L.I.T.E. FLL Regional Partner
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Camera picture on Dashboard with default project code? neg0riz0r NI LabVIEW 2 18-02-2010 10:53
Camera working in C++ and default dashboard pafwl C/C++ 0 03-02-2010 22:06
Classmate Question: Default Path Location for Driver Dashboard Ziaholic FRC Control System 4 25-01-2010 13:56
Default Labview Dashboard and Windriver Example Help sircedric4 Programming 7 25-02-2009 01:58
Help with connecting default dashboard project mminutto NI LabVIEW 2 30-01-2009 15:26


All times are GMT -5. The time now is 13:49.

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