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

  • 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 93
Teledyne LeCroy Voyager USB 3.0 Exerciser Generation Script Language Reference Manual
85
9.14 Loop Instruction
You can run some code in a loop, a limited or unlimited number of times.
Format
Loop [( counter )]
[
{
instruction_1
...
instruction_n
}
]
Note: If the counter parameter is omitted or set to INFINITE, the loop is executed infinitely. You
can use the BreakLoop instruction to break loop code execution and jump to the next command
after the Loop instruction.
Example
Main
{
Loop( 100 ) # Run the instructions below 100 times.
{
Send TX_PACKET
Send TX_PACKET
}
# Run an infinite loop. User interaction is required to break it.
Loop
{
Send TX_PACKET
Send TX_PACKET
}
}
Zobrazit stránku 93
1 2 ... 89 90 91 92 93 94 95 96 97 98 99 ... 166 167

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

Žádné komentáře