Hi there i am sending a string to my screen
via RS232 to my screen. However the data iam receiving looks like nonsense. I assume this data is in a raw bytes format. Is there a way to convert it back to the original string.
note this works fine when simulating the project on the PC its just when running the project on the panel that it all messes up . I have been useing the simpleSerialScript in the Scripting forum.
Thanks
Reading bytes from a Serial Port
-
- Posts: 824
- Joined: Tue Mar 13, 2012 9:53 am
Re: Reading bytes from a Serial Port
I would double check your baud rate and serial port settings. There should be no difference between the HMI application and running it on the PC for serial port communication.
Take a look at this forum post on how to debug a serial port connection.
Take a look at this forum post on how to debug a serial port connection.
Best Regards,
Mark Monroe
Beijer Electronics, Inc. | Applications Engineer
Mark Monroe
Beijer Electronics, Inc. | Applications Engineer