Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   NI LabVIEW (http://www.chiefdelphi.com/forums/forumdisplay.php?f=182)
-   -   Joystick Library broken? (http://www.chiefdelphi.com/forums/showthread.php?t=74472)

Derek Allen 14-02-2009 16:14

Joystick Library broken?
 
I accidentally the whole Joystick Get library button variables. Is there a way i can repair what i've done?

airnate 14-02-2009 16:22

Re: Joystick Library broken?
 
Can you clarify? Did you delete / modify the Joystick Get.vi itself?

Derek Allen 14-02-2009 16:29

Re: Joystick Library broken?
 
I only deleted the button booleans, making it so that i can't use the buttons at all.

Derek Allen 14-02-2009 16:46

Re: Joystick Library broken?
 
1 Attachment(s)
Heres an image

airnate 14-02-2009 16:47

Re: Joystick Library broken?
 
Derek,

Assuming you deleted the Button cluster indicator on the Joystick Get.vi, you can do one of a few things:

1. Use GetRaw.vi instead. The buttons behavior is identical to the Get.vi.

2. Copy the Buttons cluster from the GetRaw.vi and paste it onto the Get.vi.
a. you will then need to wire the buttons terminal to the original source.
b. you will also have to connect the buttons to the connector pane (right click the icon, select Show Connector, click on empty connector, then click on Buttons indicator.
3. Copy the Get.vi from another computer that has the WPI Robotics Library installed. The Get.vi is typically located at:
C:\Program Files\National Instruments\LabVIEW 8.5\vi.lib\Robotics Library\WPI\Joystick\Get.vi

-Nate

Derek Allen 14-02-2009 17:03

Re: Joystick Library broken?
 
My getraw.vi has the same problem :'(

airnate 14-02-2009 17:09

Re: Joystick Library broken?
 
1 Attachment(s)
Here is my Joystick Get.vi. Try that.

Derek Allen 14-02-2009 17:14

Re: Joystick Library broken?
 
lol thats the getaxis.vi

airnate 14-02-2009 17:20

Re: Joystick Library broken?
 
1 Attachment(s)
Sorry! :-) Here's take two.

Derek Allen 14-02-2009 17:41

Re: Joystick Library broken?
 
The one you gave me has the exact same problem mine does. :(
Can you show us picture of yours so I can try to fix it myself?

airnate 14-02-2009 17:48

Re: Joystick Library broken?
 
1 Attachment(s)
Perhaps what you did is you deleted the buttons out of the cluster itself. Try replacing this one (don't forget to unzip it first and back up your copy before replacing it).

C:\Program Files\National Instruments\LabVIEW 8.5\vi.lib\Robotics Library\WPI\Joystick\ButtonState.ctl

Did you want a picture of the front panel, or the block diagram?

Derek Allen 14-02-2009 17:56

Re: Joystick Library broken?
 
That worked! Thanks a lot :D


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

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi