10-27-2008 06:58 AM
Hi,
Further to my other post reporting a joystick problem - i am having a problem getting my joystick to work in labview.
It is an Saitek Cyborg joystick and works on the PXI rack but just not in labview 8.2
When i try the basic input example in labview it gives me an error of -2000000006
does that mean anything to anyone and can anybody please help?
10-27-2008 07:02 AM
Hi Everton01,
Thanks for the post.
From what I understand of this error is you must have a loose connection - from the research I have done.
A previous customer "unplugging the gamepad will cause the error -2000000006. After plugging it in again,
it still gets the error. Even stopping and restarting the LabView vi doesn't fix it.
One has to completely exit LabView and start again for it to recognize the
gamepad again. "
How have you setup this up?
Kind Regards,
10-27-2008 07:46 AM
Thanks for getting back to me.
I have tried restarting labview and also reseting the whole computer but still get exactly the same problem.
In the computers control panel it has recognised the joystick and when i test it, it works. It is just not reading it in labview. I ran the basic example in the labview example finder for a basic user input. I put a probe on the joystick outputs and it is giving zero to all axis and buttons etc.
10-27-2008 09:11 AM
Hi,
Thanks fore the reply!
Did you run the "Query Input Devices.vi" to check if labview see your joystick?
Also these links have code, do they work?
How Can I Monitor a Joystick, Keyboard, or Mouse in LabVIEW?
http://digital.ni.com/public.nsf/allkb/CA411647F224787B86256DD000669EFE?OpenDocument
Reading a Joystick's Status
http://sine.ni.com/devzone/cda/epd/p/id/1879
Please let me know how you get on,
Kind Regards
10-27-2008 09:15 AM
Hi,
I managed to sort my problem thanks.
I tried changing the joystick device ID and rather than a default of 0, it needed a value of '2'.
Thanks for your time anyway.
Regards,
Kieran
02-22-2011 05:26 PM
Hi,
I have the same error in reading data from the joystick. I would be glad if you can suggest me what you did and where did you execute the change in device ID .
Regards,
Neehar
02-23-2011 09:25 AM
I doubt that you will get a reply from the original poster as the last visit to the LabVIEW forums was over three years ago, in 2008. I think the reference to the device ID reference was to the the "index" input to the "Initialize Joystick.vi" that is found in (LabVIEW 8.x) under the "Connectivity\Input Device Control" palette.
02-22-2012 03:07 PM
I recently purchased a Saitek Cyborg joystick and am trying to interface it with Labview 2011. The joystick works fine on the computer when i run a test program by Labview for some reason does not find it. I tried querying the devices and went through all of them and non of them come up as a joystick. I am running it on Windows 7 (64-bit instillation) and the Labview is 32 bit. I came across somewhere that there is some compatibilty issues with Labview and HID devices in Windows 7? Does anyone have any seggestions or can help me out?
04-02-2013 10:02 AM
All,
I had this error:
Error -2000000006 occurred at errorList.vi
Possible reason(s):
LabVIEW: (Hex 0x88CA6BFA) The operation cannot be performed unless the device is acquired.
Complete call chain:
errorList.vi
joystickAcquire.vi
Solved by simply updating the driver. I did notice there is an old Saitek website and the newer madkatz website. The Cyborg FLY 5 joystick is, as far as I can tell, identical to our old Saitek Cyborg X. Just plugging in the new joystick to replace the old one gave us the error, however, and apparently upgrading the driver fixed our woes.
Hope this helps someone.
Dan
10-24-2016 10:20 AM
Hi Hilman;
"unplugging the gamepad will cause the error -2000000006 "
Do you know how to fix this error?. Any way to reset the port.
Thanks.