Teledyne-lecroy SierraFC Verification Script Engine Reference Manu Instrukcja Użytkownika Strona 45

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 64
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 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 )
Przeglądanie stron 44
1 2 ... 40 41 42 43 44 45 46 47 48 49 50 ... 63 64

Komentarze do niniejszej Instrukcji

Brak uwag