Can we send and receive data to and from Port Using Python ?

sambasivareddy sambasivareddy.s at patni.com
Fri Apr 11 07:07:11 EDT 2008


Hi,
I am new to this group. I have some question, it is listed below.
In my application I should send some data to hardware and it will give
response that response should log in one file. To do it first should send
data to port next receive response from port (hardware) so...



Queries:
1) Can we able to send data to serial port using python? If yes how?
2) Can we able to receive data from serial port using python? If yes how?
3) Is there any function like "Register event call back", please explain?
(Register event call back: registers a script to be called when an event
occurs)
4) Is it possible "parallel loops" concept in python (In my application send
data to port and receive data should be in one file and execute at same
time)?

If anyone knows answers please clarify and have any examples related to this
please send it .if u need any information regarding questions please let me
know.
Thanks in advance. 

Regards,
Sambasivareddy.S

 


http://www.patni.com
World-Wide Partnerships. World-Class Solutions.
_____________________________________________________________________

This e-mail message may contain proprietary, confidential or legally
privileged information for the sole use of the person or entity to
whom this message was originally addressed. Any review, e-transmission
dissemination or other use of or taking of any action in reliance upon
this information by persons or entities other than the intended
recipient is prohibited. If you have received this e-mail in error
kindly delete  this e-mail from your records. If it appears that this
mail has been forwarded to you without proper authority, please notify
us immediately at netadmin at patni.com and delete this mail. 
_____________________________________________________________________
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20080411/8f68cdc3/attachment.html>


More information about the Python-list mailing list