Fluke PM-3370B Manual de usuario Pagina 96

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 297
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 95
USING THE COMBISCOPE INSTRUMENTS 3 - 77
3.15.4.2 Error-reporting using the SRQ mechanism
Program an error-reporting routine and use the "Service Request (SRQ)
Generation" mechanism to interrupt the execution of the program to execute the
error-reporting routine.
PROGRAM EXAMPLE:
ON PEN GOSUB ErrorCheck
PEN ON
*****
*****
APPLICATION PROGRAM
*****
END
***************************************************
’ Subroutine reading all errors from the error queue.
***************************************************
SUB ErrorCheck
er$ = SPACE$(1)
WHILE LEFT$(er$, 1) <> "0"
Loop until 0, ’No error
"
CMD$ = "SYSTem:ERRor?"
CALL Send(0, 8, CMD$, 1)
Sends error query
er$ = SPACE$(60)
CALL Receive(0, 8, er$, 256)
Reads error string
PRINT "Error = "; er$
Displays error string
WEND
END SUB
Vista de pagina 95
1 2 ... 91 92 93 94 95 96 97 98 99 100 101 ... 296 297

Comentarios a estos manuales

Sin comentarios