Teledyne-lecroy UWBTrainer Exerciser Script Language Manual de usuario Pagina 23

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 124
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 22
LeCroy Corporation UWBTrainer Exerciser - Generation Script Language Reference Manual
15
8.2.2 Defining a Field at the Current Offset
If the field offset is omitted, then the field's offset is calculated based on the lengths of previously
declared fields. The initial template offset is always 0.
Example
const F3_OFFSET = 64
const F3_LEN = 8
# Declare the frame template 'SomeTemplate.
Frame SomeTemplate
{
F1 : 16 # Declare the 16-bit field 'F1' at offset 0.
F2 : 32 # Declare the 32-bit field 'F2' at offset 16.
F3 : F3_OFFSET, F3_LEN # Declare the 8-bit field 'F2' at offset 64.
F4 : 16 # Declare the 16-bit field 'F4' at offset 64+8.
}
Vista de pagina 22
1 2 ... 18 19 20 21 22 23 24 25 26 27 28 ... 123 124

Comentarios a estos manuales

Sin comentarios