Teledyne-lecroy SierraFC Verification Script Engine Reference Manu Manuel d'utilisateur Page 42

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 64
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 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();
Vue de la page 41
1 2 ... 37 38 39 40 41 42 43 44 45 46 47 ... 63 64

Commentaires sur ces manuels

Pas de commentaire