LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

joystick problem. works for one comp not the other.

Hello all,

I am trying to acquire data from my joystick. it's a simple vi with initializing joystick vi and acquire input data vi and it works perfectly flawlessly fine on my office computer windows xp, but once i try the same vi with the same joystick in my lab, it does not read out anything but the default values for axis info or direction info. the only difference i can see is that the lab computer uses windows 2000...both have directX 9.0 installed since i saw that these vis require directx 8.0 or higher.

from system panel's game controller, i can successfully test my joystick and it works fine for both computers...but the vi just don't seem to work in the windows 2000 one.
both comp have labview 8.0.

any suggestion in how i can fix this? what would be the reason to this?

thank you all!
0 Kudos
Message 1 of 4
(2,667 Views)

Hi northPIG87,

did you run the "Query Input Devices.vi" to check if labview see your joystick?

Mike

0 Kudos
Message 2 of 4
(2,665 Views)
oh thank you for that idea...ya i kinda see what is the problem now.
on the office comp that the vi does work, the query shows device name to be "USB game"
but in the lab comp that the vi doesn't work, the query shows device name to be "USB compliant keyboard"
both device name are of "joystick info" output of the query device vi.

i guess the fact that lab comp uses a usb keyboard is causing the problem somehow...

i'll try to run the vi again with usb keyboard disconencted and see if it works...

thank you Mike!

0 Kudos
Message 3 of 4
(2,658 Views)

Hi,

i have built a robot which with compactRIO-9022 onboard, and  i'm controlling it

with joystick logitech attack 3. I haven't used it for a month or so, and now when i tried to use

it with other computer my joystick doesn't work - tried couple of computers with the sam version of labview 2010. My vi

doesnt see the joy - basic examples for joy neither. It even  started to work on my basic computer on one VI  and doesnt work on the other pograms.

I simply don't get it.

Do you know a solution to this problem ?:}

 

here is what i came up with :}

http://www.youtube.com/watch?v=M8iL3INO0kI

 

thanks for any help - i sold the robot and it's not good  that it doesnt want to wrok 😛

0 Kudos
Message 4 of 4
(2,384 Views)