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

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 64
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 41
Verification Script Engine Reference Manual
37
17 Common Retrieving functions
This group of functions covers VSE capability to retrieve information from the recorded trace.
17.1 GetTraPayloadLimit ()
Returns the maximum value of the transaction payload in bytes stored in in.Payload input
context member.
Format : GetTraPayloadLimit ()
Example:
If( GetTraPayloadLimit () < SomeValue )
SetTraPayloadLimit( SomeValue ); # ensure that we will get a big enough
# payload.
val = GetNBits( in.Payload, 128, 8 ); # retrieve one byte from frame/sequence payload
# starting from offset 16 bytes
17.2 SetTraPayloadLimit ()
Sets up the maximum value of the transaction payload in bytes stored in in.Payload input
context member.
Format : SetTraPayloadLimit ( tra_payload_limit )
Parameters:
tra_payload_limit - New value of transaction payload limit.
Example:
If( GetTraPayloadLimit () < SomeValue )
SetTraPayloadLimit( SomeValue ); # ensure that we will get a big enough
# payload.
val = GetNBits( in.Payload, 128, 8 ); # retrieve one byte from frame/sequence payload
# starting from offset 16 bytes
17.3 IsFcp()
Verifies that current event is FCP SCSI frame or sequence
Format : IsFcp()
Example:
if( IsFcp() ) DoSomething();
Vista de pagina 41
1 2 ... 37 38 39 40 41 42 43 44 45 46 47 ... 63 64

Comentarios a estos manuales

Sin comentarios