Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   NI LabVIEW (http://www.chiefdelphi.com/forums/forumdisplay.php?f=182)
-   -   Help with Joystick command (http://www.chiefdelphi.com/forums/showthread.php?t=146013)

Coach Seb 20-03-2016 21:14

Help with Joystick command
 
We are having an issue where a joystick command (Left and right trigger on XBox controller) are not working properly.

In the driver station, i can push the button and the signal is being read (i can see the signal on the screen) but when we probe the code, no signal is read... i cannot figure this thing out.... We switch to a different controller and we have the same issue so we are pretty sure its in the code....

whitetail 20-03-2016 21:52

Re: Help with Joystick command
 
What programing language are you using?

wt200999 20-03-2016 21:55

Re: Help with Joystick command
 
Can you post a snapshot of your code and a description of what you expect it to be doing?

Matt-T-FRC 20-03-2016 22:11

Re: Help with Joystick command
 
Coach Seb,
I had a chance to do a little work to your program since we last talked. I am posting a vi sniplet of your teleop code with the automated arm and winch removed. Use this as an example and go from there for further trouble shooting.

wt200999 20-03-2016 22:39

Re: Help with Joystick command
 
Quote:

Originally Posted by Matt-T-FRC (Post 1560211)
Coach Seb,
I had a chance to do a little work to your program since we last talked. I am posting a vi sniplet of your teleop code with the automated arm and winch removed. Use this as an example and go from there for further trouble shooting.

Your wires appear to be... missing...

Any reason why y'all are using the "Array to Cluster" and "Unbundle by Name" instead of using "index array" directly?

Matt-T-FRC 20-03-2016 22:58

Re: Help with Joystick command
 
1 Attachment(s)
Wow, it shows up in Teleop, I posted an updated version. Also I use array to clusters and then unbundle by name because that is what I am use to using and haven't completely adapted to using array to clusters yet. It also makes it a little easier to read.


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

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