EasyManua.ls Logo

Keysight 34420A - Page 257

Keysight 34420A
307 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Application Programs 6
Keysight 34420A User’s Guide 253
... continued The following function is used by the check_srq subroutine.
Function GpibErrStr$ (errorcode As Integer)
Select Case errorcode
Case NOERR
Msg$ = " No error "
Case EUNKNOWN
Msg$ = " Unknown error "
Case ESEL
Msg$ = " Invalid select code or device address "
Case ERANGE
Msg$ = " Value out of range "
Case ETIME
Msg$ = " Timeout "
Case ECTRL
Msg$ = " GPIB must be controller "
Case EPASS
Msg$ = " Pass control not permitted "
Case EFILE
Msg$ = " File I/O Error "
Case ENUMB
Msg$ = " Invalid Number "
Case EADDR
Msg$ = " Improper addressing "
Case EOPEN
Msg$ = " Cannot Open This Card "
Case ENOOPEN
Msg$ = " Card is not open "
Case ECLOSE
Msg$ = " Cannot close card "
Case EHANDLE
Msg$ = " Invalid handle for this ISC "
Case Else
Msg$ = " What? "
End Select
GpibErrStr$ = Msg$
End Function

Table of Contents

Related product manuals