473,698 Members | 2,376 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

How to communicate to device

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.

--
regards,
kamarudin samsudin
Jul 18 '05 #1
2 2784
kamarudin samsudin wrote:
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
Jul 18 '05 #2
kamarudin samsudin wrote:
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

Jul 18 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

8
4594
by: Joakim Persson | last post by:
Hello all. I am involved in a project where we have a desire to improve our software testing tools, and I'm in charge of looking for solutions regarding the logging of our software (originating from embedded devices). Currently, we are using a heavyweight, proprietary log tool developed by another part of the company. This tool contains all "standard" logging functionality, but we also need to insert "debug" log points in the software of...
1
1573
by: Syed Aun Ali | last post by:
i have a device connected to a node computer(any client/server computer) in a intanet.the device sends data contineously.i want to store the data from device in a text box in the node computer as well as send them to other client or server machine who are requested for the data.i have a local intranet uses tcp/ip protocol
3
7106
by: Jay Patel | last post by:
Hello, I need to write visual basic.net code to interface with a Mettler Toledo Shipping Scale that interfaces with a PC via USB or a serial port. I have seen example code on how to communicate via a serial connection (RS-232), but am not sure as the process if it is connected via USB. Is the USB port seen then as a COMM port, or is there a different type of connection a USB port creates that I would have to open? The scale will take as...
2
3638
by: neat2006 | last post by:
This is somewhat of a strange issue. Allow me to detail it as much as I can. We use the Blackboard Transaction System (BTS) for all students dinning services. The "ENVISION" server is Running Windows 2003 Server with Oracle 8+. All clients/registers are NCR Windows-based devices with the BTS system installed. They all come pre-imaged from Blackboard. They are spread across multiple VLANs within our robust (class B) network, spread across...
0
1345
by: neat2006 | last post by:
This is somewhat of a strange issue. Allow me to detail it as much as I can. We use the Blackboard Transaction System (BTS) for all students dinning services. The "ENVISION" server is Running Windows 2003 Server with Oracle 8+. All clients/registers are NCR Windows-based devices with the BTS system installed. They all come pre-imaged from Blackboard. They are spread across multiple VLANs within our robust (class B) network, spread across...
0
1786
by: neat2006 | last post by:
This is somewhat of a strange issue. Allow me to detail it as much as I can. We use the Blackboard Transaction System (BTS) for all students dinning services. The "ENVISION" server is Running Windows 2003 Server with Oracle 8+. All clients/registers are NCR Windows-based devices with the BTS system installed. They all come pre-imaged from Blackboard. They are spread across multiple VLANs within our robust (class B) network, spread across...
4
20565
by: robinp.la | last post by:
Can someone explain how I would read the data from the USB "port"? I don't know if it matters, but I am trying to read the data from a GPS plugged in to the USB port. Thank you, Robin
0
1061
by: arumugamsoft | last post by:
Hi Friends, This is Arumugam.N. Currently i am doing project in ASP.NET web application. In this i need to connect a device(Like mobile which can able to insert sim) with my .net application through GPRS and is should get acknowledgement through the same way. Now i want code in C#.Net to detect device from my application and then for getting acknowledgement from the device too. So kindly help me guys.
4
3856
by: Hero Doug | last post by:
A friennd and I were talking about OS development last night and a few questions were raised that need some clarification. I did the usual search and it turned up the usual garbage, so I'm hoping someone here has an answer, or the link to an answer. Issue One: How does the operating system communicate with the hardware in protected mode? My friend said it was through the BIOS, however I've read numerous texts stating that BIOS interrupts...
0
8676
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8608
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9161
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9029
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8897
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
1
6522
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4370
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4619
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3050
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.