How to communicate to device

K

kamarudin samsudin

Hi all,

Im new to linux and very very new to python. But i have to write a
program to communicate with a devide. The device will send a data
after i send something to it.

Any suggestion and help. Maybe something where i can start it.

many thanx.
 
L

Larry Bates

kamarudin said:
Hi all,

Im new to linux and very very new to python. But i have to write a
program to communicate with a devide. The device will send a data
after i send something to it.

Any suggestion and help. Maybe something where i can start it.

many thanx.
You need to supply us with more information to be able to assist
you. What type of communication path do you have to the device
(e.g. serial, parallel, scsi, ethernet, ...). What does the
"device" understand in terms of commands? Without more info
we are just guessing out here.

Larry Bates
 
J

Jeff Shannon

kamarudin said:
Hi all,

Im new to linux and very very new to python. But i have to write a
program to communicate with a devide. The device will send a data
after i send something to it.

This depends on the device and how it's intended to communicate with the
computer. Is it a serial port link, an ethernet connection, or some
other connection mechanism? Is there a device driver for it in /dev?
What sort of communication protocol does it use?

Without knowing some of these specifics, we will have a hard time
helping you, and the more specific you are, the better the help that
you're likely to get. (Obviously, as a newbie, you may not know *how*
to answer some specifics, but give us what you *do* know and we'll try
to help you find any more details that are needed.) You may also
benefit by reading ESR's essay "How To Ask Smart Questions" (
http://www.catb.org/~esr/faqs/smart-questions.html ).

Jeff Shannon
Technician/Programmer
Credit International
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,211
Messages
2,571,092
Members
47,693
Latest member
david4523

Latest Threads

Top