View Single Post
  #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