How NOT to strip off the beginning and ending symbol

Started by ccdr, March 22, 2017, 07:53:07 AM

Previous topic - Next topic

ccdr

Hello
Using data logger suite, before parsing anything, the data stream has to be divided into packets based on beginning and ending symbol recognition.
However, when I'd like to parse either beginning or ending symbol as well. They are gone.
Then how NOT to strip off the beginning and ending symbol?
Another related question, set Parser's type to Fixed position where the fixed position field is set to 1 by default. I understand that position 1 means the first character(byte) excluding the beginning symbol(s). But in fact, it could be set to 0, then what does the position 0 mean?
Could you help on this?
Thanks.

Arthur Grasin

Hello,

The parser has the corresponding option to strip (or not) the beginning and ending symbol.

Therefore if you exclude beginning and ending symbols then the parser works only with a remaining part
If you like my work, please take a few seconds and add feedback about our site or our software [here]

ccdr

Quote from: Arthur Grasin on March 22, 2017, 08:44:59 AM
Hello,

The parser has the corresponding option to strip (or not) the beginning and ending symbol.

Therefore if you exclude beginning and ending symbols then the parser works only with a remaining part
So where is the option that I could check it on or off?
Could you be so kind to show me the screenshot?

ccdr

And the other question is still pending...Could you give an explanation on that as well? Thanks. 
"Another related question, set Parser's type to Fixed position where the fixed position field is set to 1 by default. I understand that position 1 means the first character(byte) excluding the beginning symbol(s). But in fact, it could be set to 0, then what does the position 0 mean? "

Arthur Grasin

1. Option: look at the attached picture.
2. Position 0: - this is an invalid value. I will get you unexpected results.
If you like my work, please take a few seconds and add feedback about our site or our software [here]

ccdr

The words "(with signs)" get me confused. What's the real meaning of it?

Arthur Grasin

If you like my work, please take a few seconds and add feedback about our site or our software [here]

ccdr


Arthur Grasin

The beginning and ending signatures above this option.
If you like my work, please take a few seconds and add feedback about our site or our software [here]