The RS423 and GPIB Ports. Remote Control 1250 Frequency Response Analyzer
13-26 AMK/1250/4
SERIAL POLL (Continued)
Configure. The code to configure the 1250 to interrupt on an event is:
SVn
where n = a number between 1 and 255, conforming to the bit numbers of the STB. For
example SV8 will cause the 1250 to generate SRQ at the next End of Plot, and SV25
will generate SRQ from whichever event occurs first of "Error", "End of Plot" or "End of
File” i.e. bits 1 + 8 + 16.
Once the 1250 has generated an interrupt, it must be reconfigured before it will general
another.
Unconfigure and Clear
Code SV0 unconfigures an existing interrupt, and also clears bit "1”.
Pressing the BREAK key unconfigures an existing interrupt and also clears the whole
STB. If the BREAK key is used to enable the 1250 to read the GPIB switches, as
described in Section 13.5, the STB must be reconfigured afterwards.
The RQS and Error bits are automatically cleared by any SV command, by pressing the
BREAK key, by Initialising, by Resetting, and by Power Off.
Mini Status. The status of the STB bits can be observed on the 1250 Display by
selecting the Mini - Status line: [STATUS x x x x x x x x]
The eight x's correspond to the 8 bits of the STB, and will show a “1” or a "0", according
to the bit status, updated every second.
13.13.2 PARALLEL POL
The 1250 can also be configured to give a Parallel Poll, True/False response, on a
particular GPIB data line, to indicate whether the 1250 is requesting service or not. As
explained in "Serial Poll", the 1250 must first be configured by an SV command, to
define which event shall assert SRQ.
This is followed by a PP command, to set up Parallel Poll configuration:
PPn means "configure Parallel Poll on a particular GPIB data line, where n = a data line
number between 1 and 8 inclusive.
PP0 unconfigures Parallel Poll.
The sense of the Parallel Poll line may be configured by a PS command:
PS1 means "when the line is True, i.e. carries a " 1", the 1250 is requesting service”.
PS1 is the default state.
PS0 means "when the line is False, i.e. carries a "0", the 1250 is requesting service”.
The Parallel Poll response is cleared, in a similar fashion to Serial Poll, by any SV
command, by PP0 command, pressing BREAK key, Initialising, Resetting, or Power Off.
Unlike Serial Poll, Parallel Poll does not have to be reconfigured after each interrupt.