Agilent Technologies B1500A Podręcznik Użytkownika Strona 469

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 628
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 468
Agilent B1500 Users Guide, Edition 7 8- 19
Built-in Programming Tool
Script Program Statements
Script Program Statements
The program statements are used to define the test execution flow on the Test
Contents tab screen of the Test Definition window. On the screen, click the Program
Component tab. The program statements are listed in the component selection area.
See also “Program Component” on page 6-26.
Local Variable
De
finition
This statement d
efines the local variables used in the test definition. For the setup
editor, see “Local Variable Definition” on page 6-24. For the available names and
variable types, see “Variables and Expressions” on page 8-3.
The local variables are effective only for th
is test definition.
ASSIGN This statement enters a value or expression to
the variable as follows:
<variable> = <definition>
where, <variable> is the variable to define, and <definition> is the value or
expression
.
BLOCK Beginning of the BLOCK/END BLOCK block. The statements are added to the
p
rogram list
as a pair. The test execution flow (program) must be defined between
the statements. Optionally, the following statements can be used in this block.
ON ERROR
This statement enables an event-initiated branch performed when an error
occurs. The
routine to be performed when error occurs must be defined between
ON ERROR and END BLOCK or between ON ERROR and FINALLY.
FINALLY
This statement enables an event-initiated branch performed just before
terminating
the block. The routine to be performed before terminating the block
must be defined between FINALLY and END BLOCK.
The statements or components between the BLOCK and END
BLOCK statements
are performed from top-down. If no error occurs during program execution, the
routine below FINALLY is executed and the block is terminated.
If an error occurs, the error code is stored in th
e @ERROR system variable, the
routine below ON ERROR is executed, and the block is terminated. If FINALLY is
used, the routine below FINALLY is executed before the block is terminated.
Przeglądanie stron 468
1 2 ... 464 465 466 467 468 469 470 471 472 473 474 ... 627 628

Komentarze do niniejszej Instrukcji

Brak uwag