Teledyne-lecroy SierraFC Verification Script Engine Reference Manu Uživatelský manuál Strana 45

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 64
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 44
Verification Script Engine Reference Manual
40
19.2 GetHexScriptField()
Extracts raw hexadecimal information about script decoded field.
Format : GetHexScriptField ( fld_name )
Parameters:
fld_name - name of the MAD field supposedly existing in the FCP-SCSI, GS or SW sequence
being processed:
Return Values:
If the field with the specified name is present in the current sequence - this function returns the
hex value of the decoded field ( integer value- if the length of field is less than 32 bits or raw
binary value (list of bytes, see CSL manual for further details about raw binary values ) - if the
length of field is greater than 32 bits ), null-value if the field was not found.
Example:
val = GetHexScriptField ( “Logical Block Addr” ); # extract the hex value of LBA field.
# extract the hex value of SomeBig field.
if( GetHexScriptField ( "Some Big" ) == 'FE80000000000000' )
ReportText( "Some Big field = FE80-0000-0000-0000");
Remark:
The name of field should be exactly the same
as it seen in the trace ( case sensitive )
Zobrazit stránku 44
1 2 ... 40 41 42 43 44 45 46 47 48 49 50 ... 63 64

Komentáře k této Příručce

Žádné komentáře