Agilent-technologies Option H48 Multiport Test Set Z5623A Manual de usuario Pagina 116

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 138
  • Tabla de contenidos
  • SOLUCIÓN DE PROBLEMAS
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 115
7 -4 Agilent Technologies Z5623A Option H48
Advanced Topics
Using an External Computer to Control the Test Set
Write Commands:
info$=“refl_01” ‘command for reflection to port 1
length%=len(info$) ‘length of command
HpibEoi(hHpib;7,0) 'disable EOI
HpibEol(hHpib;7,””,0) 'disable EOL
HpibOutputs (hHpib;712,info$,length%)) 'send command to test set
HpibEol(hHpib;7,chr$(13)+chr$(10),2) 're-enable EOL and set to
chr$(13)+chr$(10)
HpibEoi(hHpib;7,1,) 're-enable EOI hHpib specifies the handle
returned byHpibOpen.
Read Commands:
info$=“id?” ‘command for test set identification.
length%=len(info$) ‘length of command
max.len% = 10 ‘max length data from id? or swxx? function.
infi$ = space$(max.len%)
HpibEoi(hHpib;7,0) 'disable EOI.
HpibEol(hHpib;7,””,0) 'disable EOL
HpibOutputs (hHpib;712,info$,length%)) 'send command to test set.
HpibEnters(hHpib%,712,infi$,max.len%) ‘get data from test set.
HpibEol(hHpib;7,chr$(13)+chr$(10),2) 're-enable EOL and set to
chr$(13)+chr$(10).
HpibEoi(hHpib;7,1,) 're-enable EOI hHpib specifies the handle
returned byHpibOpen.
NOTE
For more information on the EOI and EOL commands, refer to the
programming library manual supplied with the 82335 interface.
Using HPVEE
If you are using HPVEE, be sure to set the Direct I/O in the Advance
Device Configuration so the Read Terminator and Write EOL Sequence
is set to “\n”. In the I/O Transaction make sure the EOL is ON.
Vista de pagina 115
1 2 ... 111 112 113 114 115 116 117 118 119 120 121 ... 137 138

Comentarios a estos manuales

Sin comentarios