Teledyne LeCroy LeCroy Analyzers File Based Decoding Manual User Manual
Page 53

File-based Decoding User Manual
Chapter 11: Primitives
LeCroy Corporation
47
AddEvent()
AddEvent(<Group string>, <Value string> )
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 ));
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.