Go to Post Things that get said on the field should stay on the field. - Bongle [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 17-01-2010, 20:16
jo3_sum jo3_sum is offline
Registered User
no team
 
Join Date: Jan 2010
Rookie Year: 2010
Location: California
Posts: 6
jo3_sum is an unknown quantity at this point
Help with Testing Joystick

I'm having trouble receiving input from the joystick (logictech attack3) in the example program. Driver station recognizes the connection and joystick movement. I used LabView's Joystick Input Example. I changed the setting from cRIO to computer because I don't have our cRIO available at home. So I ran it, but no results. I tested and switched between each USB port (1-4), then placed the physical joystick's usb connector into each port of the porthub and netbook.
Still, there is no plotting on the graph while running? I'm I missing something?
Reply With Quote
  #2   Spotlight this post!  
Unread 17-01-2010, 20:51
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,795
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: Help with Testing Joystick

The Joystick Input example is programmed for the cRIO and won't work on your PC. The target processor and the libraries aren't the same.
How are you choosing to run it on the PC?

Only the Dashboard projects are designed to run on your PC.

You can write something that uses the joystick on your computer, but don't use the robot palette or example code.
Look under Connectivity -> Input Device for PC joystick inputs.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle

Last edited by Mark McLeod : 17-01-2010 at 20:56.
Reply With Quote
  #3   Spotlight this post!  
Unread 17-01-2010, 21:01
jo3_sum jo3_sum is offline
Registered User
no team
 
Join Date: Jan 2010
Rookie Year: 2010
Location: California
Posts: 6
jo3_sum is an unknown quantity at this point
Re: Help with Testing Joystick

I right clicked the "text box" in the bottom left hand corner while using LabView's Block Diagram.
Reply With Quote
  #4   Spotlight this post!  
Unread 17-01-2010, 21:18
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,795
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: Help with Testing Joystick

Ah, I see what you were thinking.

That's the Front Panel and that is intended to run on your PC just to show the results generated by the rest of the program in the Block Diagram that is running on your cRIO. The Front Panel is just a display. In this example it has to be fed data from the robot to actually display anything.

The examples given are all written to execute on the cRIO.
If you want a practice program to try out on your PC at home you can take a look at theDecember 13, 2008 workshop here by NI. That one was just for the PC and let you play with a joystick.

Quote:
Originally Posted by jo3_sum View Post
I right clicked the "text box" in the bottom left hand corner while using LabView's Block Diagram.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle

Last edited by Mark McLeod : 17-01-2010 at 21:23.
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
Need help with joystick. Team 849 Programming 1 06-02-2007 17:31
Help with joystick lightning_blast Programming 2 12-02-2006 22:25
Help with Joystick connections ace123 Control System 4 19-02-2005 13:25
We need help with joystick control Team ICE #1611 Control System 4 24-01-2005 15:57
Help with code single joystick JamesBrown Programming 9 19-01-2005 00:42


All times are GMT -5. The time now is 11:50.

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