Agilent Technologies B1500A Instrukcja Obsługi Strona 528

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 598
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 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.
Przeglądanie stron 527
1 2 ... 523 524 525 526 527 528 529 530 531 532 533 ... 597 598

Komentarze do niniejszej Instrukcji

Brak uwag