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

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 124
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 86
LeCroy Corporation UWBTrainer Exerciser - Generation Script Language Reference Manual
79
10.5 Sending Frames using Structure Variables
You can send a frame based on some frame variable.
Examples
Main
{
# Send a frame based on the frame variable X using overridden values.
# Note: Frame variable X field values are NOT changed.
# '$' may be omitted after the 'Send' keyword,
# but if there is a template X, it is used instead of
# the structure variable X.
Send X
{
FrameType = 2
DestAddr = 0xAABB
SrcAddr = 0xEFBE
Data = { AA BB CC DD 12 34 56 78 [PATTERN_2] }
}
# '$' explicitly indicates that you want to send a frame
# based on the structure variable X.
Send $X
{
FrameCtrl = 0xC018 # Assign the whole multi-byte field.
SeqCtrl = 0x1234 # Assign the whole multi-byte field.
}
# Short syntax.
# Send a frame based on the frame variable X having delay 50 us
X ( 50 )
}
Vista de pagina 86
1 2 ... 82 83 84 85 86 87 88 89 90 91 92 ... 123 124

Comentarios a estos manuales

Sin comentarios