beautypg.com

10 sendtraceeventonly(), Race, Vent – Teledyne LeCroy Verification Script Engine (VSE) Manual User Manual

Page 47

background image

Teledyne LeCroy

Verification Script Engine Reference Manual




Page 47 of 115



8.10 SendTraceEventOnly()


This function specifies that ONLY the event specified in this function is sent to the script.


Format:

SendTraceEventOnly(event)



Parameters:

event

See

SendTraceEvent()

for all possible values

Remark:

This function may be useful, when there are many events to be sent, to send only one kind of event and not
send the other ones.

Example:

SendTraceEvent(_PACKET); # Send all packets.

if(SomeCondition)
{

SendTraceEventOnly (_USB2_TOKEN);

# Only Token packets are sent.

}