Agilent Technologies B1500A Servisní příručka Strana 528

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 598
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 527
4-212 Agilent B1500A/B1505A Programming Guide, Edition 11
Command Reference
VAR
VA R
This command defines the Agilent B1500 internal variable, and sets the value. The
variable name is automatically assigned by using the parameters you specify.
Syntax VAR type,n,value
Parameters type : Variable type. Integer expression. 0 or 1.
0: Integer variable. Variable name will be %In.
1: Real variable. Variable name will be %Rn.
n : Number n added to the variable name. Integer expression. 0 to 99.
value : Value entered in the variable. Numeric value. The value must be 6
digits or less. Available values are as follows:
For integer variables: -999999 to 999999
For real variables: -9999.9 to 9999.9
Example
Statements
OUTPUT @B1500;"ST1;CN1;DV1,0,%R99,1E-4;TI1,0"
OUTPUT @B1500;"END"
OUTPUT @B1500;"VAR 1,99,2.5"
This example sets 2.5 to the real variable %R99.
VAR?
Returns the value of the variable set by the VAR command.
Syntax VAR? type,n
Parameters type : Variable type. Integer expression. 0 or 1.
0: Integer variable. For the variable %In.
1: Real variable. For the variable %Rn.
n : Number n added to the variable name. Integer expression. 0 to 99.
Query Response value<CR/LF^EOI>
Example
Statements
OUTPUT @B1500;"VAR? 1,99"
ENTER @B1500;A$
This example reads the %R99 real variable value.
Zobrazit stránku 527
1 2 ... 523 524 525 526 527 528 529 530 531 532 533 ... 597 598

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

Žádné komentáře