15 0sendfcprspseq (), Fcpr – Teledyne LeCroy SierraFC Verification Script Engine Reference Manual User Manual
Page 31

Verification Script Engine Reference Manual
26
10.15 0SendFCPRspSeq ()
This function specifies more precise tuning for FCP-SCSI RSP sequences.
Format :
SendFCPRspSeq( status = _ANY,
field_name = “” ,
field_value = 0,
seq_info = null )
Parameters:
status – This parameter specifies that only FCP RSP sequences containing SCSI Status equal
to
the parameter value will be sent. ( The value_ANY means FCP RSP sequences with
any status will be sent )
field_name – This parameter specifies that only FCP CMND sequences having a field with
field_name ( how it is shown in CATC trace) and value equal to field_value will
be sent.
( This field is valid only if the parameter ‘opcode’ is not equal to _ANY )
field_value – This parameter specifies that only FCP CMND sequences having a field with
field_name( how it is shown in CATC trace) and value equal to field_value will be
sent.
( This field is valid only if parameter ‘opcode’ is not equal to _ANY and parameter
‘field_name’ is not empty )
NOTE: For fields having size more than 32 bits use raw binary values
( like : ‘0011223344556677FF’) For more information about raw binary values please refer to
CATC CSL Manual.
seq_info – This list parameter specifies some sequence attributes.
See SendFCPSeq() function for details.
NOTE: For fields having size more than 32 bits use raw binary values
( like : ‘0011223344556677FF’) For more information about raw binary values please refer to
CATC CSL Manual.
Example:
# - send any FCP RSP sequence occurred in the recorded trace.
SendFCPRspSeq( );
const GOOD = 0;
…
SendFCPRspSeq( GOOD );
…
seq_info = [ 0x700100, 0x683456, 0x022D];
SendFCPRspSeq( GOOD, "", 0, seq_info );