Go to Post This is the hint that never ends, yes it goes on and on my friend. Some people start guessing not knowing what it was, and they'll continue to guess forever just because... - JaneYoung [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
  #1   Spotlight this post!  
Unread 11-01-2015, 19:25
tcjinaz tcjinaz is offline
Tim
FRC #3853
Team Role: Mentor
 
Join Date: May 2011
Rookie Year: 2011
Location: Arizona
Posts: 206
tcjinaz has a spectacular aura abouttcjinaz has a spectacular aura about
Joystick palette VI questions

I have been exploring the joystick VI's and I am a bit confused.

Hardware setup:
MacBook Pro OS X 10.9.5
Parallels 10.1.2
Windows 8.1<something> (not easy to find)
LabView 2014
FRC 2015

ThrustMaster joystick plugged in and recognized as USB0. Can drive the simulator with an arcade drive robot.

Two observations:

1) WPI_JoystickGetInfo never returns anything useful, either from the joystick recognized as USB0, or from the nothing attached to USB1

2) The "error out" output of both WPI_JoystickGetInfo and WPI_JoystickGetValues don't seem to care if anything is attached as USB1. Shouldn't there be a 'False' on the Status element of the error cluster if there's nothing out there?

I was really hoping that if there was only one USB device attached, the system could tell me that there are no more. Maybe this is the price we paid for such easy connectivity?

Bigger picture: I'm trying to figure out on the fly if three joysticks, or a gamepad and a joystick, or two gamepads are attached. We're having some debates in the drive team...

TIA,
Tim
__________________
Software Mentor
3853 Pridetronics[

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


All times are GMT -5. The time now is 08:48.

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