Fluke PM-3370B Manual de usuario Pagina 236

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 297
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 235
APPLICATION PROGRAM EXAMPLES A - 3
StopEOI% = 256
Termination Receive on EOI
CLS
Clears Output Screen
CALL SendIFC(0)
Clears the GPIB interface
CALL IBTMO(0, 13)
Timeout at 10 seconds
’*** Reset the instrument and clear the status data.
cmd$ = "*RST;*CLS"
CALL Send(0, 8, cmd$, EndEOI%)
CALL errorcheck
’*** Configure for measuring the frequency of the Probe signal.
cmd$ = "CONFigure:VOLTage:FREQuency (0.6),2000,(@1)"
CALL Send(0, 8, cmd$, EndEOI%)
PRINT "Frequency Amplitude Period Pos.width Neg.width"
PRINT " Hertz Volts seconds seconds seconds"
PRINT
’*** Read the signal characteristics 10 times.
FOR i = 1 TO 10
cmd$ = "READ:FREQuency?"
CALL Send(0, 8, cmd$, EndEOI%)
CALL Receive(0, 8, res$, StopEOI%)
Enters frequency
PRINT LEFT$(res$, INSTR(res$, CHR$(10)) - 1),
cmd$ = "FETCh:AMPLitude?"
CALL Send(0, 8, cmd$, EndEOI%)
CALL Receive(0, 8, res$, StopEOI%)
Enters amplitude
PRINT LEFT$(res$, INSTR(res$, CHR$(10)) - 1),
cmd$ = "FETCh:PERiod?"
CALL Send(0, 8, cmd$, EndEOI%)
CALL Receive(0, 8, res$, StopEOI%)
Enters period
PRINT LEFT$(res$, INSTR(res$, CHR$(10)) - 1),
cmd$ = "FETCh:PWIDth?"
CALL Send(0, 8, cmd$, EndEOI%)
CALL Receive(0, 8, res$, StopEOI%)
Enters positive pulse width
PRINT LEFT$(res$, INSTR(res$, CHR$(10)) - 1),
cmd$ = "FETCh:NWIDth?"
CALL Send(0, 8, cmd$, EndEOI%)
CALL Receive(0, 8, res$, StopEOI%)
Enters negative pulse width
PRINT LEFT$(res$, INSTR(res$, CHR$(10)) - 1)
NEXT i
PRINT
CALL errorcheck
END
Vista de pagina 235
1 2 ... 231 232 233 234 235 236 237 238 239 240 241 ... 296 297

Comentarios a estos manuales

Sin comentarios