Fluke PM-3370B Manuel d'utilisateur Page 96

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 297
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 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
Vue de la page 95
1 2 ... 91 92 93 94 95 96 97 98 99 100 101 ... 296 297

Commentaires sur ces manuels

Pas de commentaire