MathGroup Archive 2009

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: interfacing odd usb device to mathematica

On Jun 6, 2:45 am, "zac.ernst" < at> 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=
>         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.


  • Prev by Date: Re: question on passing arguments in a function within
  • Next by Date: Re: Re: RandomReal gets stuck
  • Previous by thread: Re: question on passing arguments in a function within
  • Next by thread: Re: Re: interfacing odd usb device to mathematica