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

Home Posts Topics Members FAQ

usb to serial adapter problem

Hello,

I am experiencing some strange problems while using a usb to serial
adapter vs. a real comm port. The problems started with getting a blue
screen at random times. Changing usb to serial drivers seemed to fix
that problem. Now I am experiencing a problem where sometimes I am
getting a crash while using the usb adapter but everything works
perfectly while using a natural comm port. Has anyone else experienced
this problem. Does anyone have any ideas?

Thanks,
Brian

Jul 23 '05 #1
2 2303
br************* **@yahoo.com wrote:
I am experiencing some strange problems while using a usb to serial
adapter vs. a real comm port. The problems started with getting a blue
screen at random times. Changing usb to serial drivers seemed to fix
that problem. Now I am experiencing a problem where sometimes I am
getting a crash while using the usb adapter but everything works
perfectly while using a natural comm port. Has anyone else experienced
this problem. Does anyone have any ideas?


We can't really help you with your C++ language problem without seeing at
least some amount of C++. What is worse, of course, is that in C++ there
are no means to control 'usb' or 'serial adapter' or 'comm port'. There
are no means to control _any_ hardware in C++, as a matter of fact.

So, you should consider asking in a newsgroup dedicated to your OS, where
hardware access is most likely to be on-topic. Here it isn't.

Your problem can be due to some undefined behaviour caused by using some
uninitialised pointer or running out of the boundaries of some array, but
again, without seeing the code it's impossible to conclude anything.

V
Jul 23 '05 #2
Okay, thank you for the reply. I will repost in one of the xp groups.

Jul 23 '05 #3

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

Similar topics

15
9692
by: tom | last post by:
Hi, How do I get the serial number of the harddisk in .NET? I want this to be the same number even if the user has reformatted, so I do not want the volume serial number. Thanx, t
1
1765
by: David | last post by:
I have written an application in VB.NET 2003 that uses the SAX serial component for RS232 communications with hardware. The program sets up 2 serial ports so that it can talk to 2 different hardware devices simultaneaously. When I run the program on a desktop running Windows 2000 it works fine. When I run it on a Laptop using XP I start having problems. It seems that when the ports are initiated, either one will work but not the
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
4
17818
by: Frank | last post by:
Hello, how to get information about all serial ports in the PC? I use the following code, but i got only the data of the FIRST serial port. All other serial port information are not available with this code sample: ManagementObjectSearcher searcher = new ManagementObjectSearcher("Select * from WIN32_SerialPort");
0
1537
by: Stephan Rose | last post by:
Anyone have any experience working with USB->Serial adapters?? Yes, some of us, like me, still need Serial ports!!! Drives me nuts that it is almost impossible to still get a high end motherboard these days that has a built in serial port... I just found out yesterday though, using my serial boot loader for my embedded work, that it didn't want to talk to my development board. My boot loader is nothing more than small console C# app...
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...
3
2032
by: =?Utf-8?B?VGFvZ2U=?= | last post by:
Hi All, I write a dll use vb.net 2005 to read data from a serial port and use this dll in a C# 2005 application. It works well except when I close the port. After I close the port, sometimes the dll stopped at the readline statement in data_received function. But the port closed already, why this function is still fired? ( is it because the delay message? I guess ) I catch the exception and try to throw a excption, but the dll stopped...
5
5624
by: =?Utf-8?B?UGV0ZXIgSm9uZXM=?= | last post by:
Hi, Hopefully this is a pretty basic question. I need to perform serial IO using VB.Net (VS2005/Framework 2.0) but the devices I communicate with can be either RS-232 or 422/485. Is this a concern to me as the programmer, i.e. does the UART or whatever handles the electrical side of things or do I need to be aware of the type of connection being made a program accordingly. I know I need to use System.IO.Ports.SerialPort but does this...
0
9589
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
9423
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
10216
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...
1
9997
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,...
0
9865
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
8873
agi2029
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...
0
5448
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3965
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
3565
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.