19 script decoded fields retrieving functions, 1 getdecodedscriptfield(), Ecoded – Teledyne LeCroy SierraFC Verification Script Engine Reference Manual User Manual

Page 44: Cript, Ield

Advertising
background image

Verification Script Engine Reference Manual

39

19 Script decoded fields retrieving functions


This group of functions covers VSE generic capability to extract information about data payload fields
decoded with CATC Script Language (CSL).
( Currently only FCP-SCSI, GS and SW sequence payloads are decoded with CSL )

19.1 GetDecodedScriptField()

Extracts information about script decoded field how it is shown in SierraFC Protocol Suite trace

view or

“View … Fields” dialog.


Format :

GetDecodedScriptField ( fld_name )



Parameters:

fld_name - name of the field supposedly existing in the FCP-SCSI, GS or SW sequence being

processed:


Return Values:

The text value of the decoded field how it is seen in the trace if the field name asked is present

in the current sequence, empty string otherwise.

Example:

str = GetDecodedScriptField (“STATUS”); # extract the decoded value of SCSI

# Status field.

Remark:

The name of field should be exactly the same as it seen in the trace ( case sensitive )






















Advertising