Agilent Technologies 8935 Series Manual do Utilizador Página 170

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 329
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 169
170 Chapter 6
O:\Manuals\E6380A_Progguid\Book\Advoper.fm
Advanced Operations
HP-IB Service Requests
Reading the Service Request Enable Register
The Service Request Enable Register is read with the *SRE? Common
Command. The *SRE? query allows the programmer to determine the
current contents (bit pattern) of the Service Request Enable Register.
The Test Set responds to the *SRE? query by placing the
binary-weighted decimal value of the Service Request Enable Register
bit pattern into the Output Queue. The decimal value of the bit pattern
will be a positive integer in the range 0 to 255. The response data is
obtained by reading the Output Queue into a numeric variable, integer
or real.
Example 6-105 Example BASIC program
10 INTEGER Srv_rqs_enab_rg
20 OUTPUT 714;"*SRE?"
30 ENTER 714;Srv_rqs_enab_rg
40 PRINT Srv_rqs_enab_rg
50 END
Example 6-106 Example response
18
Vista de página 169
1 2 ... 165 166 167 168 169 170 171 172 173 174 175 ... 328 329

Comentários a estes Manuais

Sem comentários