Go to Post I'm hoping for a JVN action figure this year! - marshall [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 09-02-2010, 16:18
mck567 mck567 is offline
Registered User
no team
 
Join Date: Jan 2010
Location: Chicago, Illinois
Posts: 1
mck567 is an unknown quantity at this point
Using the same Jaguar/Controller for Joystick and buttons....

We've been trying to get one jaguar to operate a motor with both the joystick and the buttons, however when we programmed it to do so only the buttons would work, not the joystick..

We tried adding another jaguar (one for button control and one for joystick control) but then the motor didn't work at all.

Any ideas as to how we can get the joystick and buttons operate a motor?

Hope that made sense...
Reply With Quote
  #2   Spotlight this post!  
Unread 09-02-2010, 16:31
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,113
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: Using the same Jaguar/Controller for Joystick and buttons....

It is likely that your button code is happening after the joystick code, and thus overriding anything the joystick wants.

Do not connect multiple speed controllers to one motor. Just don't.

Show us the code you are using and we should be able to help you make it do what you want it to.
Reply With Quote
  #3   Spotlight this post!  
Unread 09-02-2010, 16:34
EricVanWyk EricVanWyk is offline
Registered User
no team
 
Join Date: Jan 2007
Rookie Year: 2000
Location: Boston
Posts: 1,597
EricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond repute
Send a message via AIM to EricVanWyk
Re: Using the same Jaguar/Controller for Joystick and buttons....

DO NOT WIRE TWO JAGUARS TO ONE MOTOR

Disconnect it immediately, you will likely break something.



Sounds like you are having trouble knowing when you want the button to be in charge, and when you want the joystick to be in charge. Can you please tell us in English (bullet points are fine) when you want what to happen? We'll help you translate it to LabVIEW later.

For example:
I want the motor to move with the joystick, unless a button is pressed. If the button 1 is pressed, I want the motor to go 50% forward. If button 2 is pressed, I want the motor to go 60% backwards.
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
joystick and extra buttons TEAM1949 Programming 3 18-02-2008 13:22
Using auxiliary joystick buttons with IFI controller. Eric W. Jones Programming 9 03-12-2006 22:26
joystick buttons and a quick question h0x4r Programming 2 17-02-2005 00:18
Using the extra buttons on the joystick. Code\\Pilot Programming 7 04-12-2004 19:30
UTC Hartford and the Pits in 2001. The same setup for this year??? Elgin Clock Regional Competitions 3 01-11-2002 19:11


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

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