|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Help with Testing Joystick
I'm having trouble receiving input from the joystick (logictech attack3) in the example program. Driver station recognizes the connection and joystick movement. I used LabView's Joystick Input Example. I changed the setting from cRIO to computer because I don't have our cRIO available at home. So I ran it, but no results. I tested and switched between each USB port (1-4), then placed the physical joystick's usb connector into each port of the porthub and netbook.
Still, there is no plotting on the graph while running? I'm I missing something? |
|
#2
|
|||||
|
|||||
|
Re: Help with Testing Joystick
The Joystick Input example is programmed for the cRIO and won't work on your PC. The target processor and the libraries aren't the same.
How are you choosing to run it on the PC? Only the Dashboard projects are designed to run on your PC. You can write something that uses the joystick on your computer, but don't use the robot palette or example code. Look under Connectivity -> Input Device for PC joystick inputs. Last edited by Mark McLeod : 17-01-2010 at 20:56. |
|
#3
|
|||
|
|||
|
Re: Help with Testing Joystick
I right clicked the "text box" in the bottom left hand corner while using LabView's Block Diagram.
|
|
#4
|
|||||
|
|||||
|
Re: Help with Testing Joystick
Ah, I see what you were thinking.
That's the Front Panel and that is intended to run on your PC just to show the results generated by the rest of the program in the Block Diagram that is running on your cRIO. The Front Panel is just a display. In this example it has to be fed data from the robot to actually display anything. The examples given are all written to execute on the cRIO. If you want a practice program to try out on your PC at home you can take a look at theDecember 13, 2008 workshop here by NI. That one was just for the PC and let you play with a joystick. Last edited by Mark McLeod : 17-01-2010 at 21:23. |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Need help with joystick. | Team 849 | Programming | 1 | 06-02-2007 17:31 |
| Help with joystick | lightning_blast | Programming | 2 | 12-02-2006 22:25 |
| Help with Joystick connections | ace123 | Control System | 4 | 19-02-2005 13:25 |
| We need help with joystick control | Team ICE #1611 | Control System | 4 | 24-01-2005 15:57 |
| Help with code single joystick | JamesBrown | Programming | 9 | 19-01-2005 00:42 |