[Tutor] Using Python to send signals to the USB port

Christian Witts cwitts at compuscan.co.za
Wed Aug 17 16:01:12 CEST 2011


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 at 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

//
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20110817/138e5802/attachment.html>


More information about the Tutor mailing list