Each of the interrupting conditions listed previously has a corresponding bit
in the Questionable or Operation Registers. If that bit is enabled via the
STATus:OPERation:ENABle
or
STATus:QUEStionable:ENABle
command
to be a part of the group summary bit, it will also enable the
HP E1313/E1413 interrupt for that condition. If that bit is not enabled, the
corresponding interrupt will be disabled.
Sending the
STATus:PRESet
command will disable all the interrupts from
the HP E1313/E1413.
Sending the
*OPC
command will enable the measurement complete
interrupt. Once this interrupt is received and the OPC condition sent to the
Status system, this interrupt will be disabled if it was not previously enabled
via the
STATus:OPERation:ENABle
or
STATus:QUEStionable:ENABle
command.
The above description is always true for a downloaded driver. In the
C-SCPI driver, however, the interrupts will only be enabled if
cscpi_overlap
mode is
ON
when the enable command is given. If
cscpi_overlap
is
OFF
,
the user is indicating they do not want interrupts to be enabled. Any
subsequent changes to
cscpi_overlap
will not change which interrupts are
enabled. Only sending
*OPC
,
STATus:OPERation:ENABle
, or
STATus:QUEStionable:ENABle
with
cscpi_overlap ON
will enable
interrupts.
In addition, the user can enable or disable all interrupts via the SICL calls,
iintron( )
and
iintroff( )
.
See the C-SCPI Users Guide for more details on the overlapped mode and
using interrupts in the C-SCPI environment.
HP E1313/E1413 Background Operation
The HP E1313/E1413 inherently runs its measurements and calibration in
the background mode with no interaction required from the driver. All
resources needed to run the measurements are controlled by the on-board
control processor. The driver is required to setup the type of measurement
to be run, and to unload data from the card after it has been acquired. Once
the
INITiate[:IMMediate]
or
INITiate:CONTinuous ON
commands are given,
the HP E1313/E1413 is initiated and all functions of the trigger system and
acquisition are controlled by its on-board control processor. The driver
returns to waiting for user commands. No interrupts are required for the
HP E1313/E1413 to complete its measurement.
130 Understanding the HP E1313/E1413
Chapter 4
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com