beautypg.com

4 sendchannel(), Hannel – Teledyne LeCroy Verification Script Engine (VSE) Manual User Manual

Page 41

background image

Teledyne LeCroy

Verification Script Engine Reference Manual




Page 41 of 115



8.4 SendChannel()


This function specifies that events on the specified channel should be sent to the script.


Format:

SendChannel(channel)



Parameters:

channel

Can be one of following values:
_USB2: USB2 traffic (value = 1)
_USB3_RX: USB3 Host Receive traffic (Upstream, value = 2)
_USB3_TX: USB3 Host Transmit traffic (Downstream, value = 3)


Example:

SendChannel(_USB2); # Send events from USB2 channel.

SendChannel(_CHANNEL_2); # Send events from channel 2 (USB3_RX).

SendChannel(_CHANNEL_3); # Send events from channel 3 (USB3_TX).

SendChannel(2); # Send events from channel 2 (USB3_RX).

SendChannel(3); # Send events from channel 3 (USB3_TX).