Go to Post Time flies when you're freaking out. - Koko Ed [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 14-02-2009, 16:14
Derek Allen's Avatar
Derek Allen Derek Allen is offline
Head Programmer
FRC #1785 (Jagwired Robotics)
Team Role: Programmer
 
Join Date: Jan 2008
Rookie Year: 2007
Location: Blue Springs, MO
Posts: 13
Derek Allen is an unknown quantity at this point
Send a message via MSN to Derek Allen Send a message via Yahoo to Derek Allen
Joystick Library broken?

I accidentally the whole Joystick Get library button variables. Is there a way i can repair what i've done?
__________________
Reply With Quote
  #2   Spotlight this post!  
Unread 14-02-2009, 16:22
airnate airnate is offline
Registered User
FRC #0236 (Techno Ticks)
Team Role: Programmer
 
Join Date: Feb 2009
Rookie Year: 2009
Location: southeastern CT
Posts: 93
airnate is a jewel in the roughairnate is a jewel in the roughairnate is a jewel in the rough
Re: Joystick Library broken?

Can you clarify? Did you delete / modify the Joystick Get.vi itself?
Reply With Quote
  #3   Spotlight this post!  
Unread 14-02-2009, 16:29
Derek Allen's Avatar
Derek Allen Derek Allen is offline
Head Programmer
FRC #1785 (Jagwired Robotics)
Team Role: Programmer
 
Join Date: Jan 2008
Rookie Year: 2007
Location: Blue Springs, MO
Posts: 13
Derek Allen is an unknown quantity at this point
Send a message via MSN to Derek Allen Send a message via Yahoo to Derek Allen
Re: Joystick Library broken?

I only deleted the button booleans, making it so that i can't use the buttons at all.
__________________
Reply With Quote
  #4   Spotlight this post!  
Unread 14-02-2009, 16:46
Derek Allen's Avatar
Derek Allen Derek Allen is offline
Head Programmer
FRC #1785 (Jagwired Robotics)
Team Role: Programmer
 
Join Date: Jan 2008
Rookie Year: 2007
Location: Blue Springs, MO
Posts: 13
Derek Allen is an unknown quantity at this point
Send a message via MSN to Derek Allen Send a message via Yahoo to Derek Allen
Re: Joystick Library broken?

Heres an image
Attached Thumbnails
Click image for larger version

Name:	labview.jpg
Views:	26
Size:	81.2 KB
ID:	7438  
__________________
Reply With Quote
  #5   Spotlight this post!  
Unread 14-02-2009, 16:47
airnate airnate is offline
Registered User
FRC #0236 (Techno Ticks)
Team Role: Programmer
 
Join Date: Feb 2009
Rookie Year: 2009
Location: southeastern CT
Posts: 93
airnate is a jewel in the roughairnate is a jewel in the roughairnate is a jewel in the rough
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
Reply With Quote
  #6   Spotlight this post!  
Unread 14-02-2009, 17:03
Derek Allen's Avatar
Derek Allen Derek Allen is offline
Head Programmer
FRC #1785 (Jagwired Robotics)
Team Role: Programmer
 
Join Date: Jan 2008
Rookie Year: 2007
Location: Blue Springs, MO
Posts: 13
Derek Allen is an unknown quantity at this point
Send a message via MSN to Derek Allen Send a message via Yahoo to Derek Allen
Re: Joystick Library broken?

My getraw.vi has the same problem :'(
__________________
Reply With Quote
  #7   Spotlight this post!  
Unread 14-02-2009, 17:09
airnate airnate is offline
Registered User
FRC #0236 (Techno Ticks)
Team Role: Programmer
 
Join Date: Feb 2009
Rookie Year: 2009
Location: southeastern CT
Posts: 93
airnate is a jewel in the roughairnate is a jewel in the roughairnate is a jewel in the rough
Re: Joystick Library broken?

Here is my Joystick Get.vi. Try that.
Attached Files
File Type: vi GetAxis.vi (18.4 KB, 14 views)
Reply With Quote
  #8   Spotlight this post!  
Unread 14-02-2009, 17:14
Derek Allen's Avatar
Derek Allen Derek Allen is offline
Head Programmer
FRC #1785 (Jagwired Robotics)
Team Role: Programmer
 
Join Date: Jan 2008
Rookie Year: 2007
Location: Blue Springs, MO
Posts: 13
Derek Allen is an unknown quantity at this point
Send a message via MSN to Derek Allen Send a message via Yahoo to Derek Allen
Re: Joystick Library broken?

lol thats the getaxis.vi
__________________
Reply With Quote
  #9   Spotlight this post!  
Unread 14-02-2009, 17:20
airnate airnate is offline
Registered User
FRC #0236 (Techno Ticks)
Team Role: Programmer
 
Join Date: Feb 2009
Rookie Year: 2009
Location: southeastern CT
Posts: 93
airnate is a jewel in the roughairnate is a jewel in the roughairnate is a jewel in the rough
Re: Joystick Library broken?

Sorry! :-) Here's take two.
Attached Files
File Type: vi Get.vi (37.4 KB, 13 views)
Reply With Quote
  #10   Spotlight this post!  
Unread 14-02-2009, 17:41
Derek Allen's Avatar
Derek Allen Derek Allen is offline
Head Programmer
FRC #1785 (Jagwired Robotics)
Team Role: Programmer
 
Join Date: Jan 2008
Rookie Year: 2007
Location: Blue Springs, MO
Posts: 13
Derek Allen is an unknown quantity at this point
Send a message via MSN to Derek Allen Send a message via Yahoo to Derek Allen
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?
__________________
Reply With Quote
  #11   Spotlight this post!  
Unread 14-02-2009, 17:48
airnate airnate is offline
Registered User
FRC #0236 (Techno Ticks)
Team Role: Programmer
 
Join Date: Feb 2009
Rookie Year: 2009
Location: southeastern CT
Posts: 93
airnate is a jewel in the roughairnate is a jewel in the roughairnate is a jewel in the rough
Re: Joystick Library broken?

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?
Attached Files
File Type: zip ButtonState.ctl.zip (3.7 KB, 16 views)
Reply With Quote
  #12   Spotlight this post!  
Unread 14-02-2009, 17:56
Derek Allen's Avatar
Derek Allen Derek Allen is offline
Head Programmer
FRC #1785 (Jagwired Robotics)
Team Role: Programmer
 
Join Date: Jan 2008
Rookie Year: 2007
Location: Blue Springs, MO
Posts: 13
Derek Allen is an unknown quantity at this point
Send a message via MSN to Derek Allen Send a message via Yahoo to Derek Allen
Re: Joystick Library broken?

That worked! Thanks a lot
__________________
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
cad library Adama Inventor 6 17-01-2008 17:24
content library.. naroarr Inventor 0 20-01-2007 12:13
Library timers Ryan M. Programming 3 13-02-2004 09:02
Inventor Library Ogro Inventor 4 28-01-2004 17:03
Broken promises or BROKEN ROBOTS! archiver 1999 9 23-06-2002 22:18


All times are GMT -5. The time now is 21:39.

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