Go to Post you know you are addicted to first when u crave sprockets for breakfast! - Jones571 [more]
Home
Go Back   Chief Delphi > Technical > Programming > NI LabVIEW
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 29-01-2012, 20:34
odogollie odogollie is offline
Lead Programmer
AKA: Oliver Shanklin
FRC #4068 (Aperture Robotics)
Team Role: Programmer
 
Join Date: Jan 2012
Rookie Year: 2012
Location: Monument, Colorado
Posts: 7
odogollie is an unknown quantity at this point
Exclamation Joystick sending data to Jaguar

We have hit another problem where the Jaguar is not getting the input from the joystick. We have all the updates since 1-23 for cRIO and have the electronics on the setup board. We have checked all signal going to the side car and it is receiving and sending signal to the Jaguar because we can get the light on the Jaguar to stay solid and can get the Green and Red lights for calibration.

The joystick is being initialized by the Begin.vi because we can probe the points and see the data in the program but the output from the loop is not sending joystick movement to the motor control. We have not modified the Robot Main.vi and expected the program to be operational "out of the box".

What program modifications or setup needs to be completed by us to get the joystick to send the data to the Jaguar and allow the buttons to be read?

Thanks for your assistance.

Team 4068
Reply With Quote
  #2   Spotlight this post!  
Unread 29-01-2012, 21:15
Keyreaper's Avatar
Keyreaper Keyreaper is offline
Keyreaper
AKA: Cyrus Duong
FRC #1710 (Revolution Ravonics)
Team Role: Programmer
 
Join Date: May 2011
Rookie Year: 2011
Location: Olathe
Posts: 140
Keyreaper is an unknown quantity at this point
Re: Joystick sending data to Jaguar

When running your code, pull up the diagnostics tab in driver station to ensure that you aren't getting any type error. If you are getting some sort of error, it should tell you where the problem is occurring from and you can hopefully fix it that way.
Reply With Quote
  #3   Spotlight this post!  
Unread 29-01-2012, 21:24
odogollie odogollie is offline
Lead Programmer
AKA: Oliver Shanklin
FRC #4068 (Aperture Robotics)
Team Role: Programmer
 
Join Date: Jan 2012
Rookie Year: 2012
Location: Monument, Colorado
Posts: 7
odogollie is an unknown quantity at this point
Re: Joystick sending data to Jaguar

I am getting this error:

-44007 occurred at WPI_JoystickRefNum Registry Get.vi>>Teleop.vi
FRC: The RefNum you are trying to Get does not exist in this RefNum Registry.
Reply With Quote
  #4   Spotlight this post!  
Unread 29-01-2012, 21:37
Keyreaper's Avatar
Keyreaper Keyreaper is offline
Keyreaper
AKA: Cyrus Duong
FRC #1710 (Revolution Ravonics)
Team Role: Programmer
 
Join Date: May 2011
Rookie Year: 2011
Location: Olathe
Posts: 140
Keyreaper is an unknown quantity at this point
Re: Joystick sending data to Jaguar

Quote:
Originally Posted by odogollie View Post
I am getting this error:

-44007 occurred at WPI_JoystickRefNum Registry Get.vi>>Teleop.vi
FRC: The RefNum you are trying to Get does not exist in this RefNum Registry.
Ahh very simple fix then, go to your teleop and when you use the get.vi for joysticks ensure that the name matches the same as the one used for the set.vi for joysticks in your begin.vi

Hope that helps!

Edit: Names are also affect by caps! That's something I discovered, haha.

Last edited by Keyreaper : 29-01-2012 at 21:38. Reason: Forgot something very important.
Reply With Quote
Reply


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


All times are GMT -5. The time now is 22:29.

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