|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||
|
|||
|
Re: adding a second joystick to TeleOp Init
Pausert,
The REX build up zip that you posted yesterday at 07:15 pm is missing a Joystick Open in the Teleop.vi Init case. The USB 1 Joystick is opened and assigned to JoystickDevRef, but the JoystickDevRef 2 is unassigned. This could certainly create strange behavior. -Nate |
|
#2
|
|||
|
|||
|
Re: adding a second joystick to TeleOp Init
Thank you for all your help! It appears that there were some code issues, but also there were problems with how Labview handles Victors. Once we cleaned up the code and changed to Spikes the code worked as intended. Thanks!
|
|
#3
|
|||
|
|||
|
Re: adding a second joystick to TeleOp Init
Wanna elaborate on the victor issue?
Greg McKaskle |
|
#4
|
|||
|
|||
|
Re: adding a second joystick to TeleOp Init
Sure. Essentially, whenever we used a Victor, it would receive some form of crosstalk from joystick 1 even though it was supposed to be received by joystick 2. If we changed the motor VIs to Jaguar ones and put a Jaguar into the electronics the code would run fine, otherwise one of our 2 Victors would start to move with both of the 2 Jaguars we had. If we unplugged the Victor that was receiving the crosstalk, the other Victor would start to move in response to the crosstalk. That behavior alerted us to something odd with the Victors or Victor VIs. Because we didn't really need analog control where the Victors were and we didn't have any extra Jaguars we replaced them with Spikes and used the Relay library.
In short, I have no idea what is actually wrong with the Victors or their associated code, but something is weird about it. |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Adding all devices to Typedef increases Teleop by 100 ms per iteration | rwood359 | NI LabVIEW | 1 | 07-02-2009 22:11 |
| adding second camera | iwdu15 | Electrical | 1 | 01-02-2007 20:53 |
| Wierd basic init | Jeremy J | Programming | 5 | 06-02-2003 11:42 |
| Basic Init Error | yan184 | Programming | 5 | 14-12-2002 13:10 |
| Programming the second joystick in PBASIC | archiver | 2001 | 2 | 24-06-2002 00:25 |