Metrix GX1010 Notice De Fonctionnement page 128

Table des Matières

Publicité

Les langues disponibles

Les langues disponibles

5.1.3.2. GPIB IEEE Std. 488.2 Error Handling
The IEEE 488.2
follows. If the instrument is addressed to talk and the response formatter is inactive and
the input queue is empty then the
Query Error bit to be set in the Standard Event Status Register, a value of 3 to be placed in
the Query Error Register and the parser to be reset. See the STATUS REPORTING
CAPABILITIES section for further information.
The IEEE 488.2
waiting to send a response message and a
read by the parser or the input queue contains more than one END message then the
instrument has been
Error bit to be set in the Standard Event Status Register, a value of 1 to be placed in the
Query Error Register and the response formatter to be reset thus clearing the output
queue. The parser will then start parsing the next
queue. See the STATUS REPORTING CAPABILITIES section for further information.
The IEEE 488.2
to send a response message and the input queue becomes full then the instrument enters
the
DEADLOCK
in the Standard Event Status Register, a value of 2 to be placed in the Query Error
Register and the response formatter to be reset thus clearing the output queue. The parser
will then start parsing the next
STATUS REPORTING CAPABILITIES section for further information.
5.1.3.3. GPIB Parallel Poll
Complete parallel poll capabilities are offered on this generator. The Parallel Poll Enable
Register is set to specify which bits in the Status Byte Register are to be used to form the
local message The Parallel Poll Enable Register is set by the ∗PRE <nrf> command and
ist
read by the ∗PRE? command. The value in the Parallel Poll Enable Register is ANDed with
the Status Byte Register; if the result is zero then the value of
is 1.
ist
The instrument must also be configured so that the value of
controller during a parallel poll operation. The instrument is configured by the controller
sending a Parallel Poll Configure command (PPC) followed by a Parallel Poll Enable
command (PPE). The bits in the PPE command are shown below:
bit 7 = X
bit 6 = 1
bit 5 = 1
bit 4 = 0
bit 3 = Sense
bit 2 = ?
bit 1 = ?
bit 0 = ?
Example.To return the RQS bit (bit 6 of the Status Byte Register) as a 1 when true
and a 0 when false in bit position 1 in response to a parallel poll operation send the
following commands
The parallel poll response from the generator will then be 00h if RQS is 0 and 01h if
RQS is 1.
GX1010
error (addressed to talk with nothing to say) is handled as
UNTERMINATED
error is handled as follows. If the response formatter is
INTERRUPTED
INTERRUPTED
error is handled as follows. If the response formatter is waiting
DEADLOCK
state and an error is generated. This will cause the Query Error bit to be set
<PROGRAM MESSAGE UNIT>
sense of the response bit; 0 = low, 1 = high
∗PRE 64
error is generated. This will cause the
UNTERMINATED
<PROGRAM MESSAGE TERMINATOR>
and an error is generated. This will cause the Query
<PROGRAM MESSAGE UNIT>
don't care
Parallel poll enable
bit position of the response
then PPC followed by 69h (PPE)
<pmt>,
from the input
from the input queue. See the
is 0 otherwise the value of
ist
can be returned to the
ist
has been
II - 41

Publicité

Chapitres

Table des Matières
loading

Table des Matières