Agilent Technologies EasyEXPERT Guia do Utilizador Página 235

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 344
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 234
Agilent EasyEXPERT User’s Guide Vol. 1, Edition 1 3- 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
configuration 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 response 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.
Vista de página 234
1 2 ... 230 231 232 233 234 235 236 237 238 239 240 ... 343 344

Comentários a estes Manuais

Sem comentários