Go to Post So, FIRST is turning into the For the Inspiration of Science and Trains? That makes sense... Not a whole lot of re-branding will be needed.... - dqmot17 [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

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #6   Spotlight this post!  
Unread 04-06-2010, 02:05
Swan217's Avatar
Swan217 Swan217 is offline
RoboShow Producer
AKA: DJ Royal Fusion
no team (RoboShow)
Team Role: Engineer
 
Join Date: Jan 2003
Rookie Year: 1999
Location: Detroit Raised, Orlando Adopted
Posts: 568
Swan217 has a reputation beyond reputeSwan217 has a reputation beyond reputeSwan217 has a reputation beyond reputeSwan217 has a reputation beyond reputeSwan217 has a reputation beyond reputeSwan217 has a reputation beyond reputeSwan217 has a reputation beyond reputeSwan217 has a reputation beyond reputeSwan217 has a reputation beyond reputeSwan217 has a reputation beyond reputeSwan217 has a reputation beyond repute
Send a message via AIM to Swan217
Re: Help - Selfish library functions... (Won't share)

Quote:
Originally Posted by Alan Anderson View Post
What will you do with it at that point? The cRIO doesn't have a keyboard, so it's not expecting any keyboard commands.
I don't have any idea what you want to use a joystick-to-keyboard translation for. If what you want to do were possible, can you describe how you would use it? Give an example of what the operator would do, and what the result would be.
What I want is to make the joysticks tell the computer that I'm pressing a key instead. For a simplified example, Pinball in Windows accepts keyboard inputs, so if I push the joystick right, the case loop outputs "Right Arrow" to the user32.dll, simulating the pressing of the key "<-" For a robotics application, you could open up a text file and have the program give you a history of the directions you gave to the robot. If you pushed the joystick right for 5 iterations, the case loop outputs "RRRRR"

Of course, this is all irrelevant to my question, which is:
How can I intercept the joystick input and send the value to a VI running on the computer? Looking at my second attachment, which is essentially the arcade drive with its input wires cut, how do I make the "Joystick Get Axis" tell the VI on the computer I'm running (NOT on the cRIO) what the values from the Joystick are?

Once again, this is NOT competition-related. I'm simply deploying the modified arcade drive example to the cRIO. What needs to take the place of "X in / X out" on the example to make this work?
__________________
Orlando Regional Planning Committee & Cohost of The RoboShow & RoboVision

Follow The RoboShow on Twitter @RoboShowLive & check out our website, www.theroboshow.net

Follow RoboVision on Twitter @RoboVisionOD & check out our website, www.robovisionod.com





"As president, I believe that robotics can inspire young people to pursue science and engineering. And I also want to keep an eye on those robots in case they try anything."
— President Barack Obama
Reply With Quote
 


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
Source code for the Easy C Pro library functions? bobpskier Programming 3 05-02-2007 21:39
NEED HELP RUNNING MULTIPLE FUNCTIONS AT SAME TIME!! rushrtr3 Programming 1 12-02-2006 02:01
They won't let me help!! rachakate General Forum 4 20-02-2005 03:38
Share or not to share CA submissions Rich Wong Chairman's Award 31 29-03-2004 21:47
You Share Photos-We share Data Wayne C. General Forum 8 02-03-2002 20:21


All times are GMT -5. The time now is 22:02.

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