View Single Post
  #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,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: 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.