Teledyne-lecroy IBTracer 4X - IBTracer Verification Script Engine Manuale Utente Pagina 33

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 35
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la 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 )
Vedere la pagina 32
1 2 ... 28 29 30 31 32 33 34 35

Commenti su questo manuale

Nessun commento