Length Calculated Fields“Length” Calculated Fields are a special type of Many protocols have messages which feature a Length byte that is used to indicate how many bytes are remaining in a message and a Length Calculated Field can be used to calculate and fill in the Length in your message. Length Calculated Fields use the
Defaults that change:
Defaults that stay the same:
The Note: By default the ExampleTo actually use a Length calculated field let’s say you have a message with the following definition: The “fields” are somewhat wordy to make it clear what they are being used for but here are a couple notes anyways:
The way you could define this message in your code is as follows: Some things to take note of:
|