Go to Post Thank you to all of the mentors, You ARE changing the future. - chellyzee93 [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
  #2   Spotlight this post!  
Unread 23-02-2010, 11:32
Omar's Avatar
Omar Omar is offline
Registered User
no team
Team Role: Mentor
 
Join Date: Dec 2008
Rookie Year: 2008
Location: Huntsville, AL
Posts: 122
Omar is a glorious beacon of lightOmar is a glorious beacon of lightOmar is a glorious beacon of lightOmar is a glorious beacon of lightOmar is a glorious beacon of light
Re: Joystick 2

Quote:
Originally Posted by EricWilliams View Post

Probing the wire output of the Joystick's Open.vi shows a USB1 device channel, even though USB2 is clearly wired to the input.

Suggestions?
There is nothing must going on in the Joystick Open.vi
It just copies what is wired in into a cluster that just contains the device channel enum.

If you open a blank VI (without a project) Close your robot project and open a blank VI that will just run on your desk top not the cRIO.
Place a Joystick Open.vi in it and create an input control and an output indicator.
Run and see if you see the same results USB2 in but USB1 out. You can do multiple copies (4) of Joystick Open and try all 4 USB at the same time.

If you see the same results then I think the problem is with the TypeDef of the enum (USB1, USB2, USB3, USB4) DeviceEnum.ctl
Check to see if it is still connected to the type def.
Is the constant enum that you are feeding into the Open VI also still connected to the SAME type def

Are the items in the type def still
USB1 = 0
USB2 = 1
USB3 = 2
USB4 = 3

Plus is everything still a U16 data type?

These are the only things that I can think of that cause the Open VI to output USB1 even though USB2 is clearly wired to the input
Attached Thumbnails
Click image for larger version

Name:	joystickOpen.png
Views:	33
Size:	2.0 KB
ID:	8786  
__________________
Omar

Last edited by Omar : 23-02-2010 at 11:34.
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
Joystick Danny McC Control System 2 03-02-2007 18:21
1 joystick or 2? ChrisMcK2186 Control System 18 19-01-2007 23:42
joystick ? _GP_ General Forum 1 26-02-2004 23:10
Joystick cammie825 Technical Discussion 1 15-01-2003 10:48
No Joystick archiver 2001 2 24-06-2002 01:14


All times are GMT -5. The time now is 11: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