Go to Post The MAINTENANCE of teams is just as important as the growth. Starting a new team is not always the answer. - Amanda Morrison [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
  #4   Spotlight this post!  
Unread 22-01-2009, 06:38
sircedric4's Avatar
sircedric4 sircedric4 is offline
Registered User
AKA: Darren
no team (The SS Prometheus)
Team Role: Mentor
 
Join Date: Jan 2008
Rookie Year: 2006
Location: Lousiana
Posts: 245
sircedric4 has a reputation beyond reputesircedric4 has a reputation beyond reputesircedric4 has a reputation beyond reputesircedric4 has a reputation beyond reputesircedric4 has a reputation beyond reputesircedric4 has a reputation beyond reputesircedric4 has a reputation beyond reputesircedric4 has a reputation beyond reputesircedric4 has a reputation beyond reputesircedric4 has a reputation beyond reputesircedric4 has a reputation beyond repute
Question Re: Default Labview Dashboard and Windriver Example Help

I will take any help I can get if that means tweaking the WPILib that is fine.

I really think there is probably an easier way to get my PWM indicators to show what the robot is doing though.

I have tried for 2 consecutive full days to get my Labview dashboard PWM indicators to show what PWM signals my Jaguars and Victors are getting with no luck.

Could someone please give me a working example of how to setup the PWM indicators to read the PWM values when I move my joysticks and stuff,please.

The Dashboard example leads me to believe I only have to set the class to PWM->GetRaw but I don't know if I am using the wrong module number or channel number or what. What is the C++ code I need to make this work, it should be simple but I have tried every variation of calling the class and setting the class that I know. Most of the time it goes so far as to make the cRIO stop responding.

Examples of the futility I have tried using the Default DashboardDataExample project under the UpdateDashboard subroutine:
dashboardDataFormat.m_PWMChannels[0][1] = PWM(1).GetRaw();
also using modules 1,3,4 and channels 1-7 with no results from any
dashboardDataFormat.m_PWMChannels[0][1] = 50;
also using modules 1,3,4 and channels 1-7 with no results from any

These compile fine, but when I run the robot and the dashboard the PWM indicators don't move! they don't even set themselves to 50!

I have a single digital breakout on the standard module 4 on the cRIO. What module number should I use in this case? If I can just get a single working example I can go from there.

Last edited by sircedric4 : 22-01-2009 at 07:07.
 


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