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

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 124
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 70
LeCroy Corporation UWBTrainer Exerciser - Generation Script Language Reference Manual
63
Examples
Main
{
ConditionRegisterWMRxFrame( HDR_COND )
{
# Header Mask/Match
PLCP
{
DestAddr = 0xAABB
SrcAddr = 0xBEEF
}
}
# Wait for condition.
Wait( HDR_COND, HDR_COND1, 2000 )
# Check that ANY condition in the condition list is true.
If_Condition( HDR_COND )
{
# Do something.
}
# Check that ANY condition in the condition list is true.
# Same as If but clearer for multiple conditions
If_Any( HDR_COND, HDR_COND )
{
# Do something.
}
# Check that ALL conditions in the condition list are true.
If_All( HDR_COND, HDR_COND2 )
{
# Do something.
}
# Example with 'else' statement
if_condition( HDR_COND )
{
# Do something.
}
else_condition
{
# Do something else.
}
}
Vista de pagina 70
1 2 ... 66 67 68 69 70 71 72 73 74 75 76 ... 123 124

Comentarios a estos manuales

Sin comentarios