Re: interfacing odd usb device to mathematica
- To: mathgroup at smc.vnet.net
- Subject: [mg100547] Re: interfacing odd usb device to mathematica
- From: ragfield <ragfield at gmail.com>
- Date: Sun, 7 Jun 2009 05:03:33 -0400 (EDT)
- References: <h0d6r8$sp9$1@smc.vnet.net>
On Jun 6, 2:45 am, "zac.ernst" <zac.er... at gmail.com> wrote: > I am fed up with the cheesy software that comes with my biofeedback > USB device, and I'd like to interface it to Mathematica. It is a > LightStone device from the "Wild Divine" project. The trouble is that > it does not show up on ControllerInformation[], although it does show > up on my Mac's USBProbe software. I am using Mac OSX, version 4.11 > and Mathematica 7. USBProbe gives me the following information about > the device: > > Descriptor Version Number: 0x0110 > Device Class: 0 (Composite) > Device Subclass: 0 > Device Protocol: 0 > Device MaxPacketSize: 8 > Device VendorID/ProductID: 0x14FA/0x0001 (unknown= vendor) > Device Version Number: 0x2441 > Number of Configurations: 1 > Manufacturer String: 3 "Wild Divine " > Product String: 1 "ST7 RS232 USB BIOFBK" > Serial Number String: 0 (none) > > The only solution I can think of now is to try to write a separate > program to stream output from the device and then read that output > into Mathematica. But if there's some way to get Mathematica to > recognize the device itself, that would obviously be much better. The only USB devices supported by Mathematica via the ControllerState [] function on Mac OS X are those which conform to the USB HID (human interface device) specification. Other (custom) USB devices cannot be supported in the same general way. I think your only option to get data from this device into Mathematica would be to write a custom MathLink application. -Rob
- Follow-Ups:
- Re: Re: interfacing odd usb device to mathematica
- From: Adam Simpson <simpsoa@email.uc.edu>
- Re: Re: interfacing odd usb device to mathematica
- From: "Scot T. Martin" <smartin@seas.harvard.edu>
- Re: Re: interfacing odd usb device to mathematica