Windows XP Community - XPHeads



Serial Ports

microsoft.public.windowsxp.hardware


Reply
  #1 (permalink)  
Old 09-08-2008, 08:46 PM
Stewart Bell
 
Posts: n/a
Serial Ports
I have a device that transmits data via a serial cable.... My Computer has no
problem...But a client's transmitted data is trash... all cables are the same
all settings are the same. Either using an older Windows app or using
hyper-terminial
client data trash my computer everything fine.... Any Ideas ?

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 09-08-2008, 08:58 PM
Ghostrider
 
Posts: n/a
Re: Serial Ports

Stewart Bell wrote:

> I have a device that transmits data via a serial cable.... My Computer has no
> problem...But a client's transmitted data is trash... all cables are the same
> all settings are the same. Either using an older Windows app or using
> hyper-terminial
> client data trash my computer everything fine.... Any Ideas ?
>


Is the client computer's serial port RS-232 compliant?

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 09-08-2008, 09:18 PM
Big_Al
 
Posts: n/a
Re: Serial Ports
Stewart Bell wrote:
> I have a device that transmits data via a serial cable.... My Computer has no
> problem...But a client's transmitted data is trash... all cables are the same
> all settings are the same. Either using an older Windows app or using
> hyper-terminial
> client data trash my computer everything fine.... Any Ideas ?
>

Can you give us an idea of what 'trash' means.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 09-08-2008, 11:14 PM
Paul
 
Posts: n/a
Re: Serial Ports
Stewart Bell wrote:
> I have a device that transmits data via a serial cable.... My Computer has no
> problem...But a client's transmitted data is trash... all cables are the same
> all settings are the same. Either using an older Windows app or using
> hyper-terminial
> client data trash my computer everything fine.... Any Ideas ?
>


A baud rate mismatch can corrupt data. Normally, this
would be because of user error.

But a very long time ago, a baud rate mismatch could
also be caused by residual divider error in the baud rate
generator. The two devices then end up with a significant
error in the baud clocks they use. But your client's computer
probably isn't that crusty. (More of an issue 30 years ago.)

An RS-232 level shifter not pushing full levels, and the
usage of long data cabling, can also do it. Charge pump
based RS-232 level shifters cannot do as good a job as
the ones that run directly from +12V/-12V. But that only
becomes evident at high baud rates (>38.4K perhaps).

If you're running at 9600 baud, and using a short cable,
there are fewer good excuses. Maybe a bad cable, with a couple
conductors shorted together or something. Or a bad level
shifter, with a weak driver for the bipolar output.
An oscilloscope can be used to verify signal qualities.

Paul
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 09-10-2008, 02:21 PM
Stewart Bell
 
Posts: n/a
RE: Serial Ports
Data from device should be ASCII like "1 5000.1212 5000.1414 300 Now" But
comes out "][] ]][[]] ][] ][][] " including control chars... All baud and
parity are the same I tried two different serial cables(Null Modem)...... All
works correctly on another computer ? No ActiveSynch loaded no phone..camera
software fax or modems installed..... Compter shows 1 Serial in Device
Manager.. Operation Normal (Correct One port on MB).. Tried all setting in
CMOS no change ?





"Stewart Bell" wrote:

> I have a device that transmits data via a serial cable.... My Computer has no
> problem...But a client's transmitted data is trash... all cables are the same
> all settings are the same. Either using an older Windows app or using
> hyper-terminial
> client data trash my computer everything fine.... Any Ideas ?
>

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 09-11-2008, 03:02 AM
Paul
 
Posts: n/a
Re: Serial Ports
Stewart Bell wrote:
> Data from device should be ASCII like "1 5000.1212 5000.1414 300 Now" But
> comes out "][] ]][[]] ][] ][][] " including control chars... All baud and
> parity are the same I tried two different serial cables(Null Modem)...... All
> works correctly on another computer ? No ActiveSynch loaded no phone..camera
> software fax or modems installed..... Compter shows 1 Serial in Device
> Manager.. Operation Normal (Correct One port on MB).. Tried all setting in
> CMOS no change ?
>


Can you change the baud rate on the computer ? Try slowing the baud
rate setting down, without changing the device at the other end of
the link.

[ = 0x5B hex = 01011011 binary
] = 0x5D hex = 01011101 binary

Just a guess on my part, that the sampling device (the receiver)
is running too fast.

Paul

>
>
>
> "Stewart Bell" wrote:
>
>> I have a device that transmits data via a serial cable.... My Computer has no
>> problem...But a client's transmitted data is trash... all cables are the same
>> all settings are the same. Either using an older Windows app or using
>> hyper-terminial
>> client data trash my computer everything fine.... Any Ideas ?
>>

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 03:05 AM.


Registry Mechanic - Free Scan Now
Driver Scanner 2009 - Free Scan Now




Design by Vjacheslav Trushkin for phpBBStyles.com.
Powered by vBulletin® Version 3.6.7
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.1.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74