beautypg.com

ProSoft Technology AN-X-PB User Manual

Page 36

background image

Page

32

AN-X-PBCAPT

November 2011

Since multiple bits may be set in STS, mask STS with the bit you wish to
examine before you make any comparisons.

Example: The following equation selects frames with checksum errors.

showonly

(STS&STSCHK) = STSCHK

#

Example: The following equation selects all frames with errors.

showonly

STS <> 0

#

Frame Length, Len

The length refers to the data portion of the frame but does not include the
checksum.

Example: The following equation selects frames with data lenth greater
than 10.

showonly

Len > 10

#

Start Delimiter, SD

Possible start delimiters are:

Start delimiter

Value

Description

SD1

0x10

Fixed Length, No Data

SD2

0x68

Variable Length, With Data

SD3

0xa2

Fixed Length, With Data

SD4

0xdc

Token Pass

SC

0xe5

Single Character, Short Ack

Example: The following equation selects frames with data start delimiter
SD1.

showonly

SD = SD1

#