We help IT Professionals succeed at work.

Check out our new AWS podcast with Certified Expert, Phil Phillips! Listen to "How to Execute a Seamless AWS Migration" on EE or on your favorite podcast platform. Listen Now

x

What are these Characthers I am getting from my com1 serial port??

Medium Priority
271 Views
Last Modified: 2012-05-07
I do have a machine which has a communication port the communication protocol is RS422.I did connect to the machine through my Laptop's serial port using a MOXA RS422 to RS232 converter.I did download a few software from various locations which are basically all just com 1 port monitors.All good so far.They all work so I am getting data.
My problem is that the data I get looks very strange to me I'll give you an example:

" .¬.ÿ@....h?....%e_... Ô÷?B....9....."x.....ð?....âÂ....Â÷..îpÿ..dú..@º®...¬B.......¬... ..@....@`.ِ..&..LLÄÀ.`.0...`°Ð<¬ÀÐÀ.........@Ì.ûÐÐÐÀ@·Ý·¬ÞÍ6Ú°9Èmh>.
.X\p.`p..a,.<
..°~9...4’....`...9’
!..9Ãó’`EÍ Ì! Îþ¬ð@¬.Ã>pP.........¬¬..@.....@..IH.É...ÈADÁ...80.
7¬ÀÀ.....¶...ÐÀØÛÙÚÚ-.Ü.,.¡|
.\x.&...9’.`E.}!Ï<ÃÃÃç±Âà ·3ëÇa·ÿ.ð ¬.<>.........¬........Æ...I..¬".hD..Üd.,0.À`°Ü`` ....¶.¬Øh´.¬.¸ì6°ØØ.lh.
6.p’, .&
&.9.’..ÃÃE!!ÁÅáÇÃÃÍ£ÅáF#Åó¬ð¬¬.x?...............@.@@@ 0.II..".3`À`A`..(..hHà$........Æ.ÐÈl²à3ûºz;,ìxZX.....
 .4...&.Å `L!Ì.ø ¬.Â>.........¬.......D..H.$ .".D. @ÆÌb`.h .
hØH6À.......¿ÀÚÐÐ`Ùùþ.ø
l.9`p.,2,.


Å&\!`Ã9.!Å!&.à...p? ..........@..¬......H.IH"...d.DÆ`ÀÆ.0.0ØØÀ-´À......Û...d¬Ü.°ð.a.;Ø.X...`.
°&....!R&.Å.Å Ïe’’ÃÃ×ãc×ãÅcÇÃá.ø@...>...............¬@.@..¬.¬I¬..3..DeÊÆ...H..ØÀ.¬¬à.....¬Ø.@.ÀØÛÙll..X.<,°.`’.>.<
4.,`Å ÇR ÃÃÃÃÃÃÃÃGó×óÿ.ð¬....à.. ....þ.¬..ð.`.........¬.@...@HI..@2..d..¬ÀÆ...@`¸Ø`.А........Ù.`.ØÚÐßßZl..\...,.<0.hÁ..}.`’E ..’xÅ.ˏAÃÇà ǣƬ×ãa Ãÿ.ବ
¬.ÿ...............@@D.....H:0d."À..Ã..,°.h`4À¬....¶..@. ÐÐØh°ÌèvØ.Ø..`.
...`..0’’!.aÅ 9 !×’ÃÃ~}Ç.ãÂc!3£ÍÅaE3iÎãs³ó÷¬ø¬¬.Â.ü`...............@@.....I.¬0.D."ÿø.ÿ....¬.¬¬....¬..¬..IÙ0 ..L.À.....°.l. À¬.....¬.·øùÙÛlhh6Ø.Ø.....]..’.&.’`’9Ã’E÷Å£ÃQÃãËãÅãà káý.ø.¬.<.{,....­.ýà¬. ... ................DƁ.@À0. @dEb0..( .H`0¬àà.......Àh¶ÀØÚØ..mz..
.04r...9...’.’Å }ÇG!Ã.ÃÃÅãÃÃÏ£ÃScaçCAó¬øÀ..fÇ. ............¬...@..¬.H0.d.C. 4.ÐÐà.¬.......·Àn}üÌlrX`.Í.ÿ.....¬........D ........ÌAa"..À@¬à.Û..³À. ÚÚÀh°X.`...à.
8’9’ÃG}R 9.â}·£Ãà ÇCcas&23aóaó"

Which as you can see does't make too much sense to me.I should get numbers separated by a comma I think.I just have no ideea why the machine outputs these characthers and I have no ideea what to do next.Any hint of what my next step should be would be greatly appreciated.
Comment
Watch Question

Commented:
its coz your serial port is overrided by another driver, just uninstall all other drivers for the specific port that you dont want

hope it works

Latzi_MarianSystems Integrator

Author

Commented:
Same story.I did uninstall everything which might of gotten hold of the bserial port and tried again.Exactly the same story.
I also tried froma different computer and still getting the above gibberish.
Maybe you should try adjusting a bitrate of your RS232 port.
Latzi_MarianSystems Integrator

Author

Commented:
I've got the port settings from the machine I am connecting myself to.I did adjust the the connection settings in the software I am using.Are you saying to actually adjust the rate of the physical port itself in windows device manager?I 'll try.
Latzi_MarianSystems Integrator

Author

Commented:
No luck.The same still.I just don't understand what those ugly looking characters are coming from.Simply don't get it.I know that the machine itself is ok as I saw data collected from the machine with a vb5 application and the application interface was showing the numbers and letters comiung from the machine.Unfortunately I don't have the source code for that program.So I have to figure out a way to get intelligible data from the machine.
Yes, this is what I mean. Please let us know about effects.
Converter could be a problem. Did you try it somewhere else?
Latzi_MarianSystems Integrator

Author

Commented:
no i didn't try the converter in another situation.I will try it and let you know of the results.unfortunately I must finish for today as it is almost midnight and I am a bit tired.I might miss the obvious.2morrow morning I start again looking into this as this is first priority for me.thanx for now and I'll update
CERTIFIED EXPERT
Most Valuable Expert 2011
Top Expert 2011

Commented:
Portmon for Windows
http://technet.microsoft.com/en-us/sysinternals/bb896644.aspx

See if you can get a process name of the app that might be causing this.....


 

Commented:
This is a typical indication of a baud rate mismatch.  What baud rate is the RS422 sending at?  And what did you set your terminal emulator to receive at?  If you don't know for sure the host speed, then play with your emulator speed
Latzi_MarianSystems Integrator

Author

Commented:
Guys,

Baud rate the machine sending the data at is 1200.My PC's serial port baud rate is 1200 and the software I am receiving the data with is 1200 as well.Com 1 is not used by anything else and the RS422 to RS232 converter is not faulty as I did try with another brand new converter.I have no other means to try that converter as I have no other machine which "talks" RS422.
So summa summ arum : No idea still what is wrong but the really bad thing is that I am running out of ideas completely.
Latzi_MarianSystems Integrator

Author

Commented:
to johnb6767 I did download portmon and run it and the only process using the port is the application I am using to read from the port.So that is good no interference from another application.

Commented:
OK, so for 1200 baud or any baud rate for that matter, there is also stop bits and parity.
A common setting is 1200 baud, 8 bits, None (no parity) and 1 stop bit. -- aka 12008N1
But seriously, are you really sure its 1200?  Try 2400.  Try 12007E2, try them all.  Your characters are extremely indicative of a mismatch, whether that mismatch is parity, stop bits or baud rate.
Systems Integrator
Commented:
Unlock this solution and get a sample of our free trial.
(No credit card required)
UNLOCK SOLUTION
Unlock the solution to this question.
Thanks for using Experts Exchange.

Please provide your email to receive a sample view!

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.