Teledyne-lecroy PETrainer Scripting Language Reference Manual Manuale Utente Pagina 50

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 89
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 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
}
Vedere la pagina 49
1 2 ... 45 46 47 48 49 50 51 52 53 54 55 ... 88 89

Commenti su questo manuale

Nessun commento