Teledyne LeCroy Protocol Analyzers File-Based Decoding User Manual User Manual
Page 52

Chapter 11: Primitives
File-based Decoding User Manual
46
LeCroy Corporation
AddEvent()
AddEvent(<Group string>, <Value string> )
Parameter
Meaning
Default
Value
Comments
Group string
Name of the group
Corresponds to the name of a field that
might be encountered while decoding.
Value string
Value associated
with the group
Corresponds to a field value that might be
encountered while parsing.
Support
Supported by Bluetooth and Firewire analyzers only.
Return value
None.
Comments
Events are used for transaction searching and for transaction summary. This function is
only effective when called during the ProcessData() phase of decoding. Event groups
and values are stored globally for transaction levels and new ones are created as they
are encountered. Each transaction contains information as to which events were
associated with it.
Example
AddEvent( "DataLength", Format( "%d",
out.DataLength ));