beautypg.com

ProSoft Technology AN-X-AMX User Manual

Page 27

background image

AN-X-AMXCAPT Page

23

showonly

((CTL&0x0F)= CTL_UPDTOMAS) AND (drop = 2)

#

Data Values, DataByte[ofs] and DataWord[ofs]

Offsets start from 0 and begin immediately after the three-byte frame header.

In the following frame, DataByte[0] is 12 hexadecimal (or 0x12), DataByte[1] is 34
hexadecimal (or 0x34), and so on.

4: a 0.004,958 g........ | 255< 05^ 55- 12 34 ff ff…

In the following frame, DataWord[0] is 1234 hexadecimal or 0x1234, DataWord[1] is
FFFF hexadecimal or 0xFFFF.

4: a 0.004,958 g........ | 255< 05^ 55- 1234 ffff

Parameters

If you have passed in one or more parameters, you can access them using CmdArg[0],
CmdArg[1], CmdArg[2], or CmdArg[3].

Example: The following equation, from the option file QTS_UpdFromDrop.opt, selects
frames that are updates to the master and that have a drop matching the value passed in as
the first parameter.

showonly

((Ctl&0xf)=CTL_UPDTOMAS) &&

(Drop=CmdArg[0])

#

See page 24 for information on how to pass in parameters.

GapTme

The gap time, GapTme, is the time in microseconds between the end of the previous
frame and the start of the current frame.

Example: The following equation selects frames with gap times greater than 10
milliseconds (10000 microseconds)

showonly

GapTme > 10000

#

Constants

Constants can be entered in the following formats: