02-07-2011 11:29 AM
My game pad is recognized by installing a USB raw device and configuring NI MAX. USB RAW -Bulk .vi is run. However, there is no data in Bulk out buffer. How to read data from USB game pad ?
02-07-2011 08:05 PM
A gamepad should not be recognized by MAX. Did you even try the normal windows HID driver and the built-in LabVIEW functions (Connectivity>Input Devices) for a gamepad/joystick? Adding a USB RAW device is usually done when you have exhausted all other options.
02-08-2011 08:03 AM
because I am a labview beginner. could you explain how to setup game controller in labview by use Initialize Joystick.vi and how to read data from game controller. I create vi to read data by using joystickAcquire.vi and Initialize Joystick.vi. However, it do not work. could you see it and help me to figure why it did not work ?
02-08-2011 08:14 AM
Don't initialize more than once. Place that and a close outside a while loop. Also, make sure you have removed anything you might have done with the VISA wizard and that the controller shows in windows device manager as using the hid.dll driver.