EasyManua.ls Logo

HP 8904A - Error Isolation

HP 8904A
281 pages
Print Icon
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...
Operation Model
8904A
Reading the Service Mask
To read the current Service Mask setting, simply use the HP-IB command
RM
to
return the weighted
value.
A
simple program for reading the Service Mask
is
as
follows:
10
OUTPUT
726;”RM”
20
ENTER
726;A$
30
PRINT ”SERVICE
MASK
VALUE=”;A$
40
END
Setting the Service Mask
To
set the Service
Mask
to define the
SRQ
generating condition you want active, use the HP-IB
command
SM
along with the weighted value. For example,
if
you wanted
to
set the Service Mask
to
only allow an interrupt if a reverse power condition occurs, you would output the command:
OUTPUT
726;”SM16
Error
Isolation
Any time an interrupt
occurs
you can press the
HELP
key on the front of the
HP
8904A
to
display
a
brief description of the error, or use the HP-IB command
HP
to
read the error number.
A
list of Error
Codes
is
provided in this section
to
help you isolate any hardware, software,
or
operation faults that
occur.
If
you are writing a program that responds
to
an
SRQ condition, you must
first
enable the interrupt
for your controller and then perform
a
serial poll
to
return the Status
Byte
value. You can then use
this value
to
interpret the condition
of
the
HP
8904A
and generate whatever response
to
the condition
you want.
The following programming example
is
given
to
help you understand how to retrieve Status Byte
information.
3-32
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com

Table of Contents

Other manuals for HP 8904A

Related product manuals