Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2009

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

Search the Archive

Re: unrecognized USB devices

  • To: mathgroup at smc.vnet.net
  • Subject: [mg99857] Re: unrecognized USB devices
  • From: ragfield <ragfield at gmail.com>
  • Date: Sat, 16 May 2009 05:21:45 -0400 (EDT)
  • References: <guj859$hpi$1@smc.vnet.net>

On May 15, 3:12 am, Adam Simpson <simp... at email.uc.edu> wrote:
> Hi, I have an OCZ NIA USB device that I would like to be able to read  
> from Mathematica 7. The device basically streams data in hex format  
> and I would like to do a FFT on the data as it streams in.  
> Unfortunately in OS X it doesn't show up when I run  
> ControllerInformation[] and in Windows with the driver installed it  
> shows up but doesn't show any available controls. What options do I  
> have to get the data into Mathematica if it won't automatically read  
> this device? I believe Java would be the easiest but I don't know of  
> any good USB API's for OSX, leaving me with C which seems to be a bit  
> more complicated to integrate with Mathematica. Any suggestions?

If the device does not conform to the USB HID specification,
Mathematica will not be able to communicate with it via the
ControllerState[] mechanism.  Your only option would be to write a C/C+
+/Java MathLink program to bridge the device to Mathematica.

-Rob


  • Prev by Date: Re: is accessing parts of an hdf5 dataset possible?
  • Next by Date: Preventing swapping (high memory use)
  • Previous by thread: unrecognized USB devices
  • Next by thread: Re: FinancialData and disjoint result sets from range and