Agilent Technologies B1500A Guide de l'utilisateur Page 373

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 628
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 372
Agilent B1500 Users Guide, Edition 7 6- 37
Application Test Definition
GPIB I/O
Example 2 After performing Example 1, enter the following query command and read the
response by using Write String and Read String functions as shown below. Use
Write String to send the command, after that use Read String to read the response.
:ROUT:SYMB:CHAN? 0, 1
This command returns the string assigned to the output 1 of the B2200A in the auto
configurati
on mode.
Write String:
Address 22
String :ROUT:SYMB:CHAN? 0, 1
Terminator LF+EOI
Read String:
Address 22
String ReturnedValue
Length To Read 10
Length Actually Read Length1
Terminator LF+EOI
Terminated Term
Timeout 1.00 s
where, ReturnedValue is a string variable to
store the r
esponse of the
:ROUT:SYMB:CHAN? 0, 1 command, Length1 is a numeric variable to store the
byte length of the ReturnedValue value, and Term is a numeric variable to store the
execution result. They must be defined in the Local Variables Definition statement.
Vue de la page 372
1 2 ... 368 369 370 371 372 373 374 375 376 377 378 ... 627 628

Commentaires sur ces manuels

Pas de commentaire