Agilent Technologies B1500A Betriebsanweisung Seite 379

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 628
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 378
Agilent B1500 Users Guide, Edition 7 6- 43
Application Test Definition
Using Command Execution
NOTE string built-in function
The string built-in function is used to translate a numeric expression to a string
value. Be careful about the argument for this function. If it is a numeric variable
defined with the numeric-symbol assignment, the string function execution result
will be the symbol assigned to the numeric value, not the string value just translated
from the numeric value. The numeric-symbol assignment is defined in the “Test
Specification” on page 6-5.
For the following example setup of the numeric-symbol assignment,
string(Mode) ex
ecution result at Mo
de=0 is the string OFF, not the string 0.
Parameter Mode, Value=0, Symbol=OFF
Defining Numeric/Vector Input Parameter
1. Define a vector variable in the Test Specification tab screen or the Local
Variable Definition component of the Test Contents tab screen.
2. Set the Write Type to List in the Windows Command Execution component.
3. Enter the variable name in the Values field of the Write List area.
For the numeric parameter, a data element of vecto
r variable is
used to store the
data for the parameter. Specify the data by using the Format field. For example,
enter {0} to specify the data in the first element of the vector variable. For the
Format field, see “Defining Format Field” on page 6-45.
For the vector parameter, ignore the Format field.
Defining String/Numeric Input Parameters
1. Define string or numeric variables in the Test Specification tab screen or the
Local Variable Definition component in the Test Contents tab screen.
2. Set the Write Type to String in the Windows Command Execution component.
3. Add a line in the Write String area.
4. Enter the variable name for the first input parameter in the first line.
If the command needs multiple input parameters, add a line and enter the
v
ariable name for
the variable in the added line. Then observe the order of
parameters.
To enter a numeric variable name, use the string bui
lt-in function. For example,
enter string(Rz) to set the Rz numeric variable.
Seitenansicht 378
1 2 ... 374 375 376 377 378 379 380 381 382 383 384 ... 627 628

Kommentare zu diesen Handbüchern

Keine Kommentare