Agilent Technologies E1445A Manual de usuario Pagina 170

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 534
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 169
340 Rst: !Subprogram which resets the E1445.
350 COM @Afg
360 OUTPUT @Afg;"*RST;*OPC?" !reset the AFG
370 ENTER @Afg;Complete
380 SUBEND
390 !
400 SUB Errmsg
410 Errmsg: !Subprogram which displays E1445 programming errors
420 COM @Afg
430 DIM Message$[256]
440 !Read AFG status byte register and clear service request bit
450 B=SPOLL(@Afg)
460 !End of statement if error occurs among coupled commands
470 OUTPUT @Afg;""
480 OUTPUT @Afg;"ABORT" !abort output waveform
490 REPEAT
500 OUTPUT @Afg;"SYST:ERR?" !read AFG error queue
510 ENTER @Afg;Code,Message$
520 PRINT Code,Message$
530 UNTIL Code=0
540 STOP
550 SUBEND
Visual BASIC and
Visual C/C++ Program
Versions
The Visual BASIC example program, EXT_ARM.FRM, is in directory
“VBPROG” and the Visual C example program, EXT_ARM.C, is in
directory “VCPROG” on the CD that came with your Agilent E1445A.
168 Arming and Triggering Chapter 5
Vista de pagina 169
1 2 ... 165 166 167 168 169 170 171 172 173 174 175 ... 533 534

Comentarios a estos manuales

Sin comentarios