Hi all,
I would like to obtain a piece of codes (a full version or just an
example) dealing with asynchronous communication via COM: serial port. I
dont mind whether it is window-based or console-based.
If someone knows a good source that documents how to establish, send,
and receive via serial port, please direct me there.
Thanks in advance. 1 1937
"Ky Nguyen" <kn*****@ab.blu ecross.ca> wrote in message
news:3F******** ******@ab.bluec ross.ca... Hi all,
I would like to obtain a piece of codes (a full version or just an example) dealing with asynchronous communication via COM: serial port.
I dont mind whether it is window-based or console-based.
If someone knows a good source that documents how to establish, send, and receive via serial port, please direct me there.
You are more likely to find such codes if you post your question to a
newsgroup dedicated to the OS and/or development tool you are using.
Standard C++ does not provide means to deal with COM ports, you will
need platform specific functions for that. More appropriate newsgroups
can be found here: http://home.wanadoo.nl/efx/c++-faq/h...t.html#faq-5.9
--
Peter van Merkerk
peter.van.merke rk(at)dse.nl This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: seajay |
last post by:
hi,
I am looking for an RPM version of PHP 4.3.10
I am currently running PHP Version 4.2.2 on Red Hat Linux release 9
(Shrike) with Apache/2.0.40 (Red Hat Linux)
Is it true that PHP 4.3.10 requires Apache/2.0.44 to be installed.
Thanks.
|
by: al |
last post by:
Hi,
I am creating an application in access 97, so coding in vba. I am at
the stage of sending values to my external machine, but am stuck at a
point.
I need to send each character at an interval of 0.1 seconds.
So using the timer_event, i have set the timerinterval to 100.
|
by: sarath1111 |
last post by:
hi all,
I am using comm port for serial communication between 2 PC's
using C language. Once I have initialized the COMM port, Is there any
option of closing the port in C language.
Thanks in Advance,
Sarath.B
|
by: David M |
last post by:
I am attempting to access the text to speech SDK via. C#. I setup a
reference to the "Microsoft Voice Text" Control (vtext.dll) and I added the
following code:
HTTSLib.TextToSpeechClass v = new HTTSLib.TextToSpeechClass();
v.Speak("THIS IS A TEST");
The code compiled and ran but I do not hear any speech!
I did the same code in VB6, and it worked.:
|
by: Michael Chong |
last post by:
I wrote a program that communicate with SerialComm. In every 300
milliseconds, my program continuously send & receive data via the serial
port once the program starts.
My program is once in a while, the serial port seems corrupted because when
my data is sent, it doesn't go through the serial port, so as same to
receive process. In order to fix this, I have to close the port and reopen
the port again.
Why?!! Is there any way to fix...
| |
by: David |
last post by:
I am trying to use the vb 6 comm control in a vb.net
project. I am sending ok, but for some reason can not
receive anything. I tried using the oncomm event which
never is fired. I also just tried to use the input method
which always returns Nothing. Does the vb 6 comm control
work in vb.net?
|
by: facicad |
last post by:
I would like to set topmost another prog. from my program.
Ex: I use AutoCAD, run my prog. from autocad. My prog. is topmost but went I
would like to pick some object in autocad, I set TopMost to false and I
would like to autocad bring to front, but for autocad object, it not have
TopMost properties
|
by: Iceman.Aragorn |
last post by:
I'm having an odd problem where im reading input from a comm port (the
maker of the software that exports the data TO the comm port is
unhelpful).
What im reading is fixed length (13 character) sets of data seperated
by CR/linefeed. At first, it simply seemed like i was getting messed
up data, due to encoding it wrong, or using the wrong font, or
something like that, but it turns out, when i analyze the byte stream,
that the data i get...
|
by: Hank |
last post by:
Hello,
I would like to get some opinions on using the Comm Port with
Access 2000. We have a few jobs coming in that require us to interface
with a PLC via the Comm Port. My partner feels we should use a Visual
Basic Front End and the VB component as opposed to Access.
Has anyone had good luck interfacing to a Comm Port using
Access?
|
by: herat007 |
last post by:
hi ,
i have developed a prog in vb to send sms , but i get an error error:8020
"Error reading from comm port"
my prog for mscomm_oncomm() is
Private Sub MSComm1_OnComm()
Dim strMessage As String
Select Case MSComm1.CommEvent
' Event messages.
Case comEvReceive
|
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...
| |
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,...
|
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...
|
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,...
|
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...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
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...
| |
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();...
|
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...
| |