Fluke PM-3370B Manual do Utilizador Página 96

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 297
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 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 página 95
1 2 ... 91 92 93 94 95 96 97 98 99 100 101 ... 296 297

Comentários a estes Manuais

Sem comentários