Go to Post Regardless of the next course of action, getting steamed and angry will benefit nobody. And coming from me, that has to mean something. - Lil' Lavery [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 05-02-2010, 12:57
M-Ross M-Ross is offline
Registered User
FRC #2909
 
Join Date: Feb 2010
Location: Rochester, IN
Posts: 7
M-Ross is an unknown quantity at this point
joystick reference numbers

We put a program into our robot, and only one side of our drive system is working. The other joystick is not running the other side as it should.

I think the problem may be that I did not differentiate between mutliple joystick reference VIs. Can you use multiple ones? How does labview tell them apart when I "get" them in another place?

Thanks!
  #2   Spotlight this post!  
Unread 05-02-2010, 13:09
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,112
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: joystick reference numbers

Use the same text name as input to the RefNum Registry Set and Get vi's. Use two different names for the two different joysticks.

The Joystick Read SubVI only uses Joystick 1. You can change it to return references to both joysticks if you like, though that's a little cumbersome unless you're already familiar with how to work with SubVIs. It would probably be easier to ignore it and just use a Joystick Get for each of the two joysticks.
Closed Thread


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
relay device reference? finman Programming 5 10-02-2009 17:59
cim reference table bensamra34 Technical Discussion 0 16-01-2008 19:57
Fastener reference Dick Linn Technical Discussion 12 17-06-2007 16:05
ME reference manual Gdeaver Technical Discussion 10 06-12-2005 12:42
reference manuals sciguy125 Career 11 05-09-2005 12:31


All times are GMT -5. The time now is 10:08.

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