473,769 Members | 1,934 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Accessing serial port from browser window

Hi,
I'm not sure whether this is the right newsgroup to post this question
in, if it isn't please accept my apologies (and I'd really appreciate
it if you could point me to the correct one).
I'm not very familiar with XML, XSLT etc. so this may sound totally
outrageous but here's what I have in mind:

The problem is creating a dynamic user interface that talks to some
hardware that my company makes. We want to get away from C++ because
having to compile it for every build is putting severe restrictions on
our setup. So a new idea is to create XML sheets (using a scripting
language that runs along with every build). All elements of the user
interface would be described in this and then, using XSLT, transformed
into XHTML so that a web browser can display it.
Now, is the following part possible at all? Communication with the
hardware is using the serial port, so there needs to be some
underlying code handling this and interfacing with the web page. It
needs to send data to the web page and from the page back to the
hardware. Is there any language (that also plays nice with browsers)
that will allow this?
Also, another requirement is for the end user to be able to create
pages laid out in any arbitrary manner, for instance have variables
which are important to them be at the top (and maybe refreshing
faster) and others in another section of the page. Can XHTML handle
this? Or would we require Ajax?

Again, I apologize if I've butchered the terminology and used names
which are completely incorrect. I'm a C programmer and very much a
novice when it comes to web pages and their associated scripting
languages.

Thanks for your help,
Ashish.
Dec 25 '07 #1
0 2421

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

Similar topics

1
2551
by: kiran | last post by:
Hi all, I have a problem to communicate with serial port(COM3:). I am able to open the handle but cannot send any data. 1. I connected my motoroala handset to PC through datacable. 2. I installed valid driver to detec the motorla(V400) handset 3. I tested the handset through Hypertermal and succssfully sending any data. 4. I opened the Control Panel -> Phone and Model window and clicked the modem tab and I saw that the Motorola...
2
7856
by: Jimmy Reds | last post by:
Hi, I have a blood glucose meter (a Lifescan OneTouch Ultra in case anyone was wondering) which I connect to my PC using a USB cable and I would like to have a go at accessing the data on this device without having to use the software provided by Lifescan. The software is free and is okay but it's not very good at manipulating the data. Although I connect my meter using a USB cable, it can be connected by a serial cable (there is a...
5
24971
by: George T. | last post by:
I need to access the serial port via python on a windows machine. Reading on the web, there are three solutions: pyserial, siomodule and USPP. pyserial seems to be the best option since the other two are tested with Windows 95 and older versions of python. Would you agree with this or have I missed an option? Can anyone provide me an example of how to access the serial port with pyserial? Thanks
13
6209
by: Rob | last post by:
Hi all, I am fairly new to python, but not programming and embedded. I am having an issue which I believe is related to the hardware, triggered by the software read I am doing in pySerial. I am sending a short message to a group of embedded boxes daisy chained via the serial port. When I send a 'global' message, all the connected units should reply with their Id and Ack in this format '0 Ack' To be certain that I didn't miss a...
5
5356
by: lucky001 | last post by:
Hi I need to write a file using ANSI C:- From a computer having unix To a computer attached on a serial port (this computer has Window CE) I am able to make a connection with computer having Window CE with open function e.g.
3
8923
by: Ajinkya | last post by:
How can I poll for serial port data using javascript ?
0
1551
by: satheeshviswanathan | last post by:
Hi, I am new to visual c#/.NET. Can anyone help me in accessing a virtual serial port(COM port) in a c#/.NET windows application.I have a s/w for virtual serial port. I need to connect two COM ports and record the communication in a text file. Thanks in advance Satheesh.
4
3278
by: Adrian Chen | last post by:
please help me! I come across a problem. Now I develop a finger print management system which is based on B/S.When users click a button in the web pages, a device connected to the COM1 serial port of the client machine starts to work. Now I wrote the code which is in charge of serial communication in the ..aspx.cx pages, but then I found that when uses click the button, it is the server's serial port that starts to work,not the clients!! ...
0
2907
by: Dhananjay | last post by:
Hi, I am working on an VB.Net application which I want to communicate to external device using comm port (Serial Port) . So for that first I am trying to simulate the communication on serial port between two computers using HYper terminal on both the machines. Both these computers are connected on serial port using DB9(f) null modem (Cross) cable.
0
9579
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
9420
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
10205
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
10035
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...
0
9851
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
6662
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5293
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...
1
3949
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
2
3556
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.