Serial port problem
Serial port problem
Serial port problem
Serial port problem
Serial port problem
Serial port problem Serial port problem Serial port problem Serial port problem Serial port problem Serial port problem Serial port problem Serial port problem
Serial port problem Serial port problem
Serial port problem
Go Back  Xtreme Visual Basic Talk > > > Serial port problem


Reply
 
Thread Tools Display Modes
  #1  
Old 06-22-2006, 10:41 PM
lucky6969b lucky6969b is offline
Newcomer
 
Join Date: Jun 2006
Posts: 1
Default Serial port problem


Hi,
MSComm seems to be a problem for reaching 460800bps. Originally I had a
UART card, but we couldn't reach this rate. We suspect the UART card was
unable to do so. So we changed that to 2 USB-bridges to take over the UART card. But MSComm responded with the same error. So are there any other controls that look like MSComm but can provide higher link speed but free?
============ Follow up
We have a sensor array which has 13 channels connected to a microchip
device, this device sends data to a Single Board computer thru serial link,
at 460800bps. I was asked to add flow control (software) to the program I am
working on. But I had zero experience in this area. Anyone suggests where to
look and gives some guidelines for me.
=============== Follow up
want to be able to call a DLL from a VB6 app which provides serial
communication services. It was originally an exe, after some tweakings, it
became a DLL. Other than just converting the name "WinMain" to "DLLMain",
what other things do I need to do? do I need to put a WINAPI in front of the
Cplusplus APIs? What is an "alias" shown below? See what is difference between "Connect" and Alias "ConnectA" I just stuffed them up in this case which normally wouldn't be this easy. What type of variable should that be for "handle"? In this case, I just made it up so wouldn't compile in VB6!Any
comments are welcome

Private Declare Function Connect Lib "SerialCommD.dll" Alias "ConnectA" _
<<<<<<< all guesswork!!
( _
ByVal myhandle As handle, _ <<<<<<<< guesswork
ByVal dwInQueue As Long, _
ByVal dwOutQuene As Long _
)

============== Follow up

By the way, the function I need in this DLL is wrapped in a class. Do I also
have to deal with COM(plus), please show me which group to post in if you
think this is too C plus plus for you!
=====================
I need some source code too

Thanks
Jack

Last edited by lucky6969b; 06-23-2006 at 01:27 AM.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Advertisement:





Free Publications
The ASP.NET 2.0 Anthology
101 Essential Tips, Tricks & Hacks - Free 156 Page Preview. Learn the most practical features and best approaches for ASP.NET.
subscribe
Programmers Heaven C# School Book -Free 338 Page eBook
The Programmers Heaven C# School book covers the .NET framework and the C# language.
subscribe
Build Your Own ASP.NET 3.5 Web Site Using C# & VB, 3rd Edition - Free 219 Page Preview!
This comprehensive step-by-step guide will help get your database-driven ASP.NET web site up and running in no time..
subscribe
Serial port problem
Serial port problem
Serial port problem Serial port problem
Serial port problem
Serial port problem
Serial port problem Serial port problem Serial port problem Serial port problem Serial port problem Serial port problem Serial port problem
Serial port problem
Serial port problem
 
Serial port problem
Serial port problem
 
-->