Teledyne-lecroy Voyager Exerciser Generation Script Language Manua Instrukcja Użytkownika Strona 94

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 167
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 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
}
}
Przeglądanie stron 93
1 2 ... 89 90 91 92 93 94 95 96 97 98 99 ... 166 167

Komentarze do niniejszej Instrukcji

Brak uwag