Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   NI LabVIEW (http://www.chiefdelphi.com/forums/forumdisplay.php?f=182)
-   -   Trouble with xbox 360 controller in LabVIEW (http://www.chiefdelphi.com/forums/showthread.php?t=101351)

Murphys_Outlaws 28-01-2012 10:23

Trouble with xbox 360 controller in LabVIEW
 
Hi,

We are coding an xBox 360 controller in LabVIEW and are having trouble getting the robot code to recognize any input values. We have opened the controller as a joystick and wired in LabVIEW the button and axis outputs to code. Currently, all the lights on our Jaguars are still flashing orange.

Anyone have any solutions to this problem?

kdehaan42 28-01-2012 12:20

Re: Trouble with xbox 360 controller in LabVIEW
 
We also use xbox controllers to run our robot upload a picture of the code and I will see if I can help.

j.cole 28-01-2012 12:39

Re: Trouble with xbox 360 controller in LabVIEW
 
Theres actually a very simple way to test the values output by a controller. just put all of the values to the motor outputs and run the code from robot main. Dont deply. And then probe the values in the teleop.vi . If its not outputing values then you have 1 of 2 problems

Your controller is in the wrong port or you cant use the controller. Make sure you're using the PC version of the 360 Controller.

porterma64 28-01-2012 15:18

Re: Trouble with xbox 360 controller in LabVIEW
 
First, check to see if you have drivers installed. Go online for microsoft updates.
Second, look at the Labview examples for joystick controls and look at mapping the inputs to outputs. When you run the vi you will check to see if the motion from the front panel corresponds to the input action on the controller. Record your findings for future programming. You may need to modify the joystick vi to show all switch & joystick inputs on the front panel.

Tom Line 28-01-2012 16:37

Re: Trouble with xbox 360 controller in LabVIEW
 
Go to the diagnostics or setup tab in the driver station and tell us if your gamepad is showing up. If it is not, you may be using a non-standard xbox controller (non-pc standard), and you will have to go get drivers to make it work.

However, that should not affect your jaguars. If they are getting a proper PWM signal, they should be solid orange. Are all the lights on your digital side car lit correctly?

Alan Anderson 29-01-2012 00:49

Re: Trouble with xbox 360 controller in LabVIEW
 
Quote:

Originally Posted by Murphys_Outlaws (Post 1115165)
Currently, all the lights on our Jaguars are still flashing orange.

Did you enable the robot?


All times are GMT -5. The time now is 11:34.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi