Hello,
We have make a program to log out a rs232 comport,all the data that we read out is in asci. But now on newer version there is also a keep in live string on the rs232 port with that string we keep open the comport to send and receive data( in asci). We also send out a keep in live string for sofar evertyhing works fine. this keep in live string is hex string:
byte[] keepAlive = new byte[] { 0x66, 0x99, 0x06, 0xf9, 0x00, 0x20, 0x00, 0x09, 0x01, 0x02, 0xd4 };
This string we must send out every 2 seconds, and we get back a string like this. this string isn't alway the same. Here come my problem. The text window that show the data show also the string that we get back as answer on the keep inlive string. Not the perfect hex string as above, but convert to asci data but that is normal we program the window to show asci data.
now I like to filter out the hex string (and al this kind of hex data) that i got back from the rs232 so it isn't show in the window so we have a nice text display with data that we can us. so is it posyble to do?????
best regards Erik