V
VC#user
Hi All,
I am processing a hex dump using VC# and printing out textual data
according to a protocol.
I am opening the binary looking for Beginning of msg, end of msg and
within these two, assuming all the info as data and processing the
data and printing textual results. But the hardware that is dumping
the hex is adding some additional bytes, which I should ignore. for
example, my begining of message is 0xf1 and end is 0xf2. between 0xf1
and 0xf2 whatever i get is assumed as data and i am continuing my
processing based on the length, id etc. but suddenly i have some junk
data (which is always 24 bytes in my case but the string is having
some fixed signature like out of 24 bytes the starting bytes are
fixed). So, how do i remove these 24 bytes and process my data.?
I am processing a hex dump using VC# and printing out textual data
according to a protocol.
I am opening the binary looking for Beginning of msg, end of msg and
within these two, assuming all the info as data and processing the
data and printing textual results. But the hardware that is dumping
the hex is adding some additional bytes, which I should ignore. for
example, my begining of message is 0xf1 and end is 0xf2. between 0xf1
and 0xf2 whatever i get is assumed as data and i am continuing my
processing based on the length, id etc. but suddenly i have some junk
data (which is always 24 bytes in my case but the string is having
some fixed signature like out of 24 bytes the starting bytes are
fixed). So, how do i remove these 24 bytes and process my data.?