Teledyne-lecroy IBTracer 4X - IBTracer Verification Script Engine Manual de usuario Pagina 33

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 35
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 32
Computer Access Technology Corporation IBTracer Verification Script Engine Manual, version 1.0
Page 33 of 35
str = GetDecodedMADField (“PortState”); # extract the decoded value of PortState
# field.
Remark:
The name of field should be exactly the same as it seen in the trace ( case included )
17.2 GetHexMADField()
Extracts raw hexadecimal information about MAD decoded field.
Format : GetHexMADField ( mad_fld_name )
Parameters:
mad_fld_name - name of the MAD field supposedly existing in the MAD being processed:
Return Values:
If the field with the name asked is present in the current MAD - 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) - if the length of field is greater than 32 bits ), null-value if field was not found.
Example:
val = GetHexMADField (
“PortState”); # extract the hex value of PortState field.
# extract the hex value of GIDPrefix field.
if( GetHexMADField ( "GIDPrefix" ) == 'FE80000000000000' )
ReportText( "GIDPrefix = FE80-0000-0000-0000");
Remark:
The name of field should be exactly the same as it seen in the trace ( case included )
Vista de pagina 32
1 2 ... 28 29 30 31 32 33 34 35

Comentarios a estos manuales

Sin comentarios