On 2011/08/17 03:28 PM, Jaidev Deshpande wrote:
Hi

Is there some way I can use Python to send data through a USB port and control the data in real-time?

(For instance, I can make a sinusoidal wave of a given specification, and visualize it using NumPy / Matplotlib. How can I send the digitized form of this array through a USB port, and then convert it back into analog so I can view it on an oscilloscope?)

Thanks.


_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor

Possibly look at the PyUSB module [1] and a tutorial on it [2]. Hopefully that helps and is enough for you.

[1] http://sourceforge.net/apps/trac/pyusb/
[2] http://pyusb.sourceforge.net/docs/1.0/tutorial.html

--

Christian Witts
Python Developer

//
_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor

Reply via email to