Download Print this page

HP 3478A Technical Manual page 30

Hide thumbs Also See for 3478A:

Advertisement

3478A
3478A
Table 3-5. 3478A Addr
Table 3-5.
3478A Address Codes 
3-98. 3478A
3-98.
3478A HP-IB
HP-IB Programming
Programming
3-99. General.
3-99. General. The following paragraphs explain how to
The following paragraphs explain how to
program the
program the 3478A over
3478A over the HP-IB.
given using the HP-IB format, rather than controller
given using the HP-IB format, rather than controller
dependent la
dependent language.
nguage. If the
If the information is
controller dependent language, refer to the 3478A's
controller dependent language, refer to the 3478A's
Operator's Manual.
Operator's Manual.
3-100.
3-100.
Programming the
Programming
messages. Set-up information
messages.
Set-up information (Range, Fun
DATA sent by the controller and is done using program
DATA sent by the controller and is done using program
codes.
codes. The DATA received
The DATA received by th
3478A) is measurement data, and other data like the
3478A) is measurement data, and other data like the
Status Byte and the five bytes from the Output Binary
Status Byte and the five bytes from the Output Binary
Status Byte.
Status Byte.
3-101. Program
3-101.
Program Codes.
Codes. All the program codes for the
3478A are listed in Table 3-6.
3478A are listed in
Table 3-6. The 3478A must be in
"remote" and "listen" to receive the codes (the RMT and
"remote" and "listen" to receive the codes (the RMT and
LSTN annunciators are on when the 3478A is in remote
LSTN annunciators are on when the 3478A is in remote
ess Codes 
the HP-IB. The information is
The information is
information is desired using
desired using
the 3478A
3478A is done
is done by
by DATA
(Range, Function, etc.)
ction, etc.) is is
by the controller
e controller (from the
(from the
All the program codes for the
The 3478A must be in
and listening). An example
and listening).
3-102. The Program
3-102.
The Program Codes are a
characters (the
characters
characters, spaces, commas, and semicolons are
characters, spaces, commas, and semicolons are
ignored (they may be used with the codes as
ignored (they may be used with the codes as
separators).
separators).
feed, form feed, vertical tab, and horizontal tab
feed, form feed, vertical tab, and horizontal tab
characters are also ignored.
characters are
not included in Table 3-6
not included in
the Status Register
the Stat
us Register set).
caused if the characters are sent in a different order than
caused if the characters are sent in a different order than
shown in the table (e.g.
shown in the table (
3-103. Programming
3-103.
Programming the
must be set for the 3478A to output a Require Service
must be set for the 3478A to output a Require Service
Message. Setting the S
Message.
the Status Byte; these bits are automatically set (except
the Status Byte; these bits are automatically set (except
bit 6) when any corresponding require service condition
bit 6) when any corresponding require service condition
is true. For example, you
is true.
For example, you wish to know if the multimeter
has received an incorrect program code (Syntax Error) or
has received an incorrect program
has an int
has an internal failure (
are true, bits 2 and 3 of the Status Byte are set; but no
are true, bits 2 and 3 of the Status Byte are set; but no
Require Service Message
Require Serv
not be output until the SRQ Mask is set to the
not be output until the SRQ Mask is set to the
corresponding bits of the Status Byte (which are bits 2
corresponding bits of the Status Byte (which are bits 2
and 3). Since the mask is to be
and 3).
Since the mask is to be set in octal, the r
code for the bits is
code for
"Mdd", where dd
"Mdd", w
shown    in the following example.
shown 
 in the following example.
DATA
3-104. Only bits
3-104.
Only bits 0 to 5
SRQ Mask. Bit 6 of t
SRQ Mask.
Require Service Message is output and bit 7 is set by the
Require Service Message is output and bit
Power-On SRQ switch on the rear panel (see paragraph
Power-On SRQ switch on the rear panel (see
3-105). . Because of th
3-105)
Because of this, only
to to
3-11
3-11
An example is as follows:
is as follows:
Codes are a series of 7-bit
(the parity
parity bit is
bit is ignored).
ignored).
All null characters,
All null
characters, carriage
also ignored. Other characters w
Other characters which are
 Table 3-6, cause a Syntax Error (bit 2 in
, cause a Syntax Error (bit 2 in
set). In addition,
In addition, a Synta
e.g. "IF" causes a Syntax
"IF" causes a Syntax Error).
the SRQ Mask.
SRQ Mask. The SRQ Mask
Setting the SRQ Mask will not set t
RQ Mask will not set the bits in
wish to know if the multimeter
ernal failure (Internal Error).
Internal Error). If the conditions
ice Message is output
is output. . The message w
set in octal, the resultant
the bits is "14".
"14". The mask is set by
The mask is set by sending
here dd is-the octal
is-the octal code for t
code for the bits.
0 to 5 can be set by
can be set by programming the
Bit 6 of the Status By
he Status Byte is set whenever
is, only a two
a two digit octal code
TM 11-6625-3071-14
TM 11-6625-3071-14
series of 7-bit ASCII
ASCII
All lower case
All lower
case
carriage return,
return, line
line
hich are
a Syntax Error is
x Error is
Error).
The SRQ Mask
he bits in
code (Syntax Error) or
If the conditions
The message will ill
esultant
sending
he bits. This is
This is
programming the
te is set whenever the
the
7 is set by the
 paragraph
digit octal code (00
(00

Advertisement

loading