Go to Post Now THAT's the way FIRST is supposed to work :) ! - Stu Bloom [more]
Home
Go Back   Chief Delphi > Technical > Programming
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
  #5   Spotlight this post!  
Unread 22-01-2009, 14:09
heydowns's Avatar
heydowns heydowns is offline
Registered User
AKA: Jeff Downs
FRC #1511 (Rolling Thunder)
Team Role: Mentor
 
Join Date: Jan 2006
Rookie Year: 2005
Location: Ra-Cha-Cha
Posts: 142
heydowns has a reputation beyond reputeheydowns has a reputation beyond reputeheydowns has a reputation beyond reputeheydowns has a reputation beyond reputeheydowns has a reputation beyond reputeheydowns has a reputation beyond reputeheydowns has a reputation beyond reputeheydowns has a reputation beyond reputeheydowns has a reputation beyond reputeheydowns has a reputation beyond reputeheydowns has a reputation beyond repute
Re: Default Labview Dashboard and Windriver Example Help

If you only care about the PWMs, those can be done easily w/out WPILib changes.

You can do something like:

DigitalModule *dm = DigitalModule::GetInstance(4); // 4 is cRIO slot #
dashboardDataFormat.m_PWMChannels[0][0] = dm->GetPWM(1);

to set the first PWM's data in the dashboardDataFormat object.
Continue on down to do the rest of them (use a loop perhaps).


Though if you cannot even get your hard-coded value of 50 to show up on your dashboard, then you may have another issue. Check that your dashboard's Labview install and your Windriver c++ are all at the most recent updated version so that the data packets each expects are the same. Also make sure you don't change the format or ordering of the data in DashboardDataFormat class because that will cause a mismatch with what the LV Dashboard expects.
 


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
Example LabVIEW Apps - Dashboard, CMUcam2 and Motors DanDon LabView and Data Acquisition 3 29-01-2009 22:13
ROBOT C and the LabVIEW Dashboard robogeek753 Programming 5 20-02-2008 11:30
Example LabVIEW Apps - Dashboard, CMUcam2 and Motors Russ Beavis National Instruments LabVIEW and Data Acquisition 9 21-01-2007 17:19
Labview Dashboard and updated IFI dashboard spec Joe Ross LabView and Data Acquisition 1 04-04-2006 02:04
Labview dashboard and multiple variables Joe Ross LabView and Data Acquisition 2 15-03-2006 21:55


All times are GMT -5. The time now is 21:48.

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