erwinnd Posted January 6, 2022 Report Share Posted January 6, 2022 Hello everyone, I'm currently communicating with a device using RS232. I'm using the build message function to convert a message from message composer to a buffer. Then I transmit the message using the COM Tx function. I then receive a certain amount data packets and use the COM Rx to convert these into a buffer. I programmed my own function to convert the values of this Rx buffer into a proper response but it is very inefficient because I manually check each index of the buffer for its value and convert it to the corresponding numeric value. I think the Parse Message function is build to do this job for you, however, I can't seem to figure out how to use it to convert a buffer into a message. Can anyone explain the usage of the Parse Message function? Thanks in regards! Quote Link to comment Share on other sites More sharing options...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.