|
|
|
![]() |
|
|||||||
|
||||||||
|
|
Thread Tools | Rate Thread | Display Modes |
|
#4
|
||||
|
||||
|
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 |
|
|
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 |