07-31-2007 02:13 PM
08-01-2007 01:25 PM
Hey Bgarceau,
It sounds really interesting your application you're trying to develope. A good starting point would be the driver developement wizard to get the USB detected.
Afterwards, the communication is high device dependant.
Regards,
Nick D
08-02-2007 06:34 AM
very interesting project, but the major problem is that you have two USB hosts. The xbox is looking for a gamepad and the PC is looking for, well, just about anything that is a device. Your first problem is that you need to get them to communicate through a middle-man, something that shows up like an xbox-control-device on the PC and a standard xbox gamepad on the xbox. If you are just trying to avoid needing to go to the other room to turn on the xbox, this project may be more trouble than it is worth, but don't let me squash your project (I am not trying to, honest)
Once you get the hardware interface done, a simple scheduling interface could be made pretty easilly, polling the time once every minute (or 5 or whatever) to see if it is the right time to start, then run through a set of timed commands to go through bootup (it takes x long to boot before the next button, x long to let the menu catch up, etc.)
Another option, depending on how much you treasure xbox controllers and such is to use the innards of one controller, with a small interface chip to send commands directly. This would require some soldering, and a bit more understanding of the insides of the controller. it may not work well with the analog buttons, but I can't be sure really.
Good luck!
08-02-2007 06:31 PM
08-03-2007 02:09 PM
Thanks for your replies everyone, and thanks to NI for this great forum!
The last solution appears to be pretty close to what I'd like to do. If I understand you Robert, I would attach a DAQ to my PC via USB and would control that device via software, then the DAQ connects to a digital output controlled relay (looks multiple wires, and screw-on connections) and then there would be separate wires connecting 'channels' (my term) from the relay to individual button wires inside of the gaming controller? The signals coming from the controller following this would therefore appear as normal.
If this is correct, could you suggest any specific devices for this? I see that NI makes several USB DAQ's includng the USB-6501, 6008, and 6009. I also have seen many digital output controlled relays available from different vendors. I could use some assistance with the finer points for choosing the correct ones to purchase.
In case it makes any difference although the controller has analog functions my requirements are for only the digital buttons only as I would simply be proceeding through the Console's menu (left, right, up, down, enter/select, etc.), launching the game, and then within the game continuing to choose among the game's menu items, ultimately according to a script. So, I don't see any need to be able to actuate either of the 'sticks' which are analog in nature.
Thanks!
08-03-2007 02:18 PM - edited 08-03-2007 02:18 PM
Message Edited by Robert Cole on 08-03-2007 01:20 PM
08-03-2007 09:14 PM
08-06-2007 11:10 AM
I looked at unclebump's suggesting of the USB-USB cable and it appears that it is mainly for file transfer. I saw no drivers or software that might allow me to emulate the xbox 360 controllers so it looks to me like this would not work for my purposes. Thanks for the suggestion though.
I have placed a query with NI technical support to see if a USB-6501 DAQ in conjunction with a relay (hopefully a NI device) will work for my application. I would really like to puchase the necessary hardware and prove this solution out.
I'll post any info I receive from the support query.
08-06-2007 12:13 PM
Maybe these could be placed inline with the controller to reverse engineer the code
http://www.getcatalyst.com/datasheets.html Look at the USB analyzer.
http://www.totalphase.com/products/beagle/usb12/
http://www.protocoltools.com/usb/index.htm
Maybe you could get one sent as a demo for a week.
08-10-2007 04:13 PM - edited 08-10-2007 04:13 PM
Message Edited by bgarceau on 08-10-2007 04:14 PM