Posts: 279
Threads: 36
Joined: Aug 2006
Reputation:
0
Hi
Yes, that\'s exactly what it is.
I sent serial from other devices before and because it worked I did not care what the string looked like.
In this case I am pulling my hair. If I know what Comfort is expecting, I can work backwards to decode.
Thanks
Posts: 109
Threads: 19
Joined: Feb 2009
Reputation:
0
03-16-2009, 12:55 PM
(This post was last modified: 03-16-2009, 12:56 PM by John W.)
Yes of course the code is, doh !
I wouldn\'t trust the log window as that could be doing something daft (could be using the wrong formatting parameters to display the string).
Without seeing the code I can\'t say whether it matches what actually goes out on the 232 port either.
try using a loopback to an rs232 on a computer rather than the comfort panel and use a terminal emulator window (need to configure the port settings to the correct baud etc). Then see what you get. At least your testing what actually goes across the lines this way.
It may be something simple like you have the wrong baud rate, or it may be your code is mangling the string before it sends it down the 232 lines.
Thats what I did anyway when I was messing about. In my case the code was sending 16bit wide chars that the debug window didn\'t show as being a problem.
Posts: 279
Threads: 36
Joined: Aug 2006
Reputation:
0
Hi John,
Let me try sending to the serial port on my PC, that might show what\'s coming thru
Thanks
Posts: 279
Threads: 36
Joined: Aug 2006
Reputation:
0
Hi John,
Yes, it is working.
Thanks for the assistance
Cheers
Posts: 279
Threads: 36
Joined: Aug 2006
Reputation:
0
Hi Admin
Please review the schematic for the serial port posted Thursday Mar 12th, 2009 11:44 am
I had someone make one for me and it does not seem to work
Thanks