Computer Access Technology Corporation
IB
Tracer
Verification Script Engine Manual, version 1.0
Page 15 of 35
Skips _PKT_SKIPS
7.2
Notification events.
VSE defines a group of notification events that can be passed to a verification script for
evaluation or for retrieving and displaying some contained information. The information about the type
of event can be seen in in.TraceEvent. Please refer to the topic “Sending functions” in this manual for
details about how to send events in scripts. The notification events are not the same as packets – they
basically indicate that something changed in current stream of evaluated data.
The table below shows current list of packet events and value of in.TraceEvent:
Notification event
in.TraceEvent
Physical link woke up from silence
_EVNT_CONNECT
Physical link came to silence (no physical signal)
_EVNT_DISCONNECT
Changing of Opcode in series of link packets
_EVNT_LINKSTATE_CHANGE
8. Sending functions
This topic contains information about the special group of VSE functions designed to specify
what kind of event verification script expects to receive.
8.1
SendChannel()
This function specifies that events occurred only on specified channel should be sent to script.
Format
:
SendChannel(
channel
)
Parameters:
channel
– This parameter can be one of following values:
_CHANNEL_LEFT – send events only from left channel
_CHANNEL_RIGHT – send events only from right channel
_CHANNEL_BOTH – send events from both channels
Example:
SendChannel( _CHANNEL_LEFT ); # - send events from left channel