Teledyne-lecroy PETrainer Scripting Language Reference Manual Manuel d'utilisateur Page 50

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 89
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 49
Teledyne LeCroy PETrainer Scripting Language
45
Example 2:
This example shows how to use definitions in the expressions (see Page 65) and how to redefine the
values.
Config = Definitions {
READ_START = 0x10
}
; Repeat 10 times.
Repeat = Begin {
Count=10
Counter = i
}
; Send TLP using repeat counter (i) and
; READ_START to specify the address.
Packet = TLP {
TLPType = CfgRd0
Register = ( READ_START + ( 4 << i ) )
}
Repeat=End
; Redefine READ_START, now READ_START is 0x40.
Config = Definitions
{
READ_START = ( READ_START + 0x30 )
}
; Send TLP using READ_START to specify the address.
Packet = TLP {
TLPType = CfgRd0
Register = READ_START
}
Vue de la page 49
1 2 ... 45 46 47 48 49 50 51 52 53 54 55 ... 88 89

Commentaires sur ces manuels

Pas de commentaire