Go to Post Wisdom is knowing the difference between "the way to do things" and "the right way to do things." Just because an action may be physically possible does not mean that it is smart to do. - dlavery [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 29-07-2011, 15:23
Clayton Yocom's Avatar
Clayton Yocom Clayton Yocom is offline
Programming Mentor
FRC #0027 (RUSH)
Team Role: Mentor
 
Join Date: Jan 2011
Rookie Year: 2011
Location: Clarkston, MI
Posts: 87
Clayton Yocom will become famous soon enoughClayton Yocom will become famous soon enough
Send a message via AIM to Clayton Yocom Send a message via MSN to Clayton Yocom Send a message via Yahoo to Clayton Yocom
Rumble and LabView

Has anyone tried/succeeded in making LabView control the rumble function of modern joypads? If so, can you share any tips/code snippits? I'm working on some off-season projects where it'd be really cool to have the accelerometer interface with the rumble (for impacts and what-not, and in the future more information).

Thanks!
Reply With Quote
  #2   Spotlight this post!  
Unread 15-08-2011, 13:46
mocibot's Avatar
mocibot mocibot is offline
Registered User
FRC #1829 (Carbonauts)
Team Role: Student
 
Join Date: Feb 2011
Rookie Year: 2010
Location: Here
Posts: 21
mocibot is just really nicemocibot is just really nicemocibot is just really nicemocibot is just really nice
Re: Rumble and LabView

I'd never thought of doing this, I'm not sure how it would work. But if I find some time I think I'll look into this... I'll edit this latter with any information I come up with
http://www.chiefdelphi.com/forums/sh...ad.php?t=73099

Last edited by mocibot : 15-08-2011 at 14:10.
Reply With Quote
  #3   Spotlight this post!  
Unread 15-08-2011, 14:12
plnyyanks's Avatar
plnyyanks plnyyanks is offline
Data wins arguments.
AKA: Phil Lopreiato
FRC #1124 (The ÜberBots), FRC #2900 (The Mighty Penguins)
Team Role: College Student
 
Join Date: Apr 2010
Rookie Year: 2010
Location: NYC/Washington, DC
Posts: 1,114
plnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond repute
Re: Rumble and LabView

This problem has been brought up a few times before. People have asked about doing it in C++/Java, and the short answer has been "no." Check out this thread for some ideas (it seems you can do it by calling a directX or xinput library to control the rumble yourself (read this thread)). There's also probably some information on the topic on NI's Forums about the topic. I'm not entirely sure how to do that in LabVIEW, though (I suggest you do a little research, starting here). If you get anywhere, let me know, it might be cool to play with this sometime.
__________________
Phil Lopreiato - "It's a hardware problem"
Team 1124 (2010 - 2013), Team 1418 (2014), Team 2900 (2016)
FRC Notebook The Blue Alliance for Android
Reply With Quote
  #4   Spotlight this post!  
Unread 17-08-2011, 00:32
jhersh jhersh is offline
National Instruments
AKA: Joe Hershberger
FRC #2468 (Appreciate)
Team Role: Mentor
 
Join Date: May 2008
Rookie Year: 1997
Location: Austin, TX
Posts: 1,006
jhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond repute
Re: Rumble and LabView

Here's the XBox controller rumble library I wrote back in 2007. Perhaps it will work for you. I just tested it tonight and it worked for me. It's pretty limited, but as long as you just want simple rumble, it's fine.

Best of luck,
-Joe
Attached Files
File Type: zip Rumble-2007-10-07.zip (52.7 KB, 41 views)
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


All times are GMT -5. The time now is 20:47.

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