Teledyne-lecroy UWBTrainer Exerciser Script Language Manual do Utilizador Página 89

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 124
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 88
LeCroy Corporation UWBTrainer Exerciser - Generation Script Language Reference Manual
81
10.7 Using Structure Variables to Assign Field Values
You can use structure variables in field assignments. Also See Section Using Multipliers to
Assign Field Values.
Examples
Main
{
# Use structure variables to assign field values.
# Declare a 'structure' instance based on the template S1.
$S = S1
# Declare a 'structure' instance based on the template S2
# and change the default value for the S16 field.
$W = S2 { S16 = 2 }
Send TX_FRAME
{
Data = $S # Data field contains the payload of structure S.
}
Send TX_FRAME
{
# Example of concatenation of structures.
# Data field contains combined payload of structures S and W
Data = $S + $W
}
}
Vista de página 88
1 2 ... 84 85 86 87 88 89 90 91 92 93 94 ... 123 124

Comentários a estes Manuais

Sem comentários