Teledyne-lecroy Voyager Exerciser Generation Script Language Manua Uživatelský manuál Strana 129

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 167
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 128
Teledyne LeCroy Voyager USB 3.0 Exerciser Generation Script Language Reference Manual
120
10.19.2 Calling a Generation Procedure with No Parameters
You can "call" a generation procedure and omit some of its parameters, because procedure
parameters have default values.
Example
Block2( SOME_PKT_TEMPLATE $pkt_param, x, y )
{
# Send a packet based on the structure variable parameter 'pkt_param'.
Send pkt_param
{
Field0 = x + y
}
}
Generation
{
# Call the procedure 'Block2' with no parameters.
# In this case, use the default values for procedure parameters.
# Note: '(' ')' is mandatory after the procedure's name.
Call Block2()
}
Zobrazit stránku 128
1 2 ... 124 125 126 127 128 129 130 131 132 133 134 ... 166 167

Komentáře k této Příručce

Žádné komentáře