Equations – ProSoft Technology AN-X-AMX User Manual

Page 24

Advertising
background image

Page

20

AN-X-AMXCAPT

January 2008

Integer

4: a 0.004,958 g........ | 255< 05^ 55- 4660 -1 13107…

Unsigned integer

4: a 0.004,958 g........ | 255< 05^ 55- 4660 65535 13107…

Binary

4: a 0.004,958 g........ | 255< 05^ 55- 00010010-00110100…

CRC

To include the frame CRC, use the ShowCrc option line.

CRCs are shown at the end of the frame, enclosed in square brackets.

Example:

6: a 0:00:00.019,821 255< 05^ 3- 00 00 00 00 00 00 00 00 [95f5]

Equations

You can create an equation to control which frames are stored and displayed. The
beginning of the equation is marked by the option line showonly. The end of the
equation is marked by the option line consisting of the ‘#’ character. There can be only
one equation in an option file.

Example:

showonly

(Ctl=CTL_MSG) or (Ctl=CTL_ACK)

#

Equations consists of keywords, parameters, and constants, connected by operators.

Keywords

The equation can include the following keywords, which are described in detail below.

Keyword

Description

STS

Frame status

Len

Frame length (included the 3 byte header but not the CRC)

Dst

Frame destination

Ctl

Frame control

Drop

Frame drop

DataByte[ofs]

Data byte at offset ‘ofs’ into the frame data

DataWord[ofs]

Data word at offset ‘ofs’ into the frame data

CmdArg[num]

Passed parameters, see page 24

Advertising