Teledyne-lecroy SierraFC Verification Script Engine Reference Manu Manual de usuario Pagina 45

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 64
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 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 )
Vista de pagina 44
1 2 ... 40 41 42 43 44 45 46 47 48 49 50 ... 63 64

Comentarios a estos manuales

Sin comentarios