beautypg.com

5 sendchannelonly(), 6 dontsendchannel (), Hannel – Teledyne LeCroy SierraFC Verification Script Engine Reference Manual User Manual

Page 24

background image

Verification Script Engine Reference Manual

19

10.5 SendChannelOnly()

This function specifies that ONLY events occurred on specified channel should be sent to the

script.

Format :

SendChannelOnly( channel )



Parameters: channel – This parameter can be one of following values:

_CHANNEL_1 ( = 1 ) – send ONLY events from channel 1

_CHANNEL_2 ( = 2 ) – send ONLY events from channel 2

_CHANNEL_3 ( = 3 ) – send ONLY events from channel 3

_CHANNEL_4 ( = 4) – send ONLY events from channel 4

_CHANNEL_5 ( = 5 ) – send ONLY events from channel 5

_CHANNEL_6 ( = 6 ) – send ONLY events from channel 6

_CHANNEL_7 ( = 7 ) – send ONLY events from channel 7

_CHANNEL_8 ( = 8 ) – send ONLY events from channel 8


Example:

SendChannelOnly( _CHANNEL_1 ); # - send ONLY events from channel 1

SendChannelOnly( _CHANNEL_5 ); # - send ONLY events from channel 5

SendChannelOnly( 6 ); # - send ONLY events from channel 6

SendChannelOnly( 8 ); # - send ONLY events from channel 8

10.6 DontSendChannel ()

This function specifies that events occurred on specified channel should NOT be sent to the

script.

Format :

DontSendChannel ( channel )



Parameters: channel – This parameter can be one of following values:

_CHANNEL_1 ( = 1 ) – DO NOT send events from channel 1

_CHANNEL_2 ( = 2 ) – DO NOT send events from channel 2

_CHANNEL_3 ( = 3 ) – DO NOT send events from channel 3

_CHANNEL_4 ( = 4) – DO NOT send events from channel 4

_CHANNEL_5 ( = 5 ) – DO NOT send events from channel 5

_CHANNEL_6 ( = 6 ) – DO NOT send events from channel 6

_CHANNEL_7 ( = 7 ) – DO NOT send events from channel 7

_CHANNEL_8 ( = 8 ) – DO NOT send events from channel 8


Example:

DontSendChannel ( _CHANNEL_1 ); # - DO NOT send events from channel 1

DontSendChannel ( _CHANNEL_5 ); # - DO NOT send events from channel 5

DontSendChannel ( 6 ); # - DO NOT send events from channel 6

DontSendChannel ( 8 ); # - DO NOT send events from channel 8