![background image](http://html2.mh-extra.com/html/keithley/2657a/2657a_reference-manual_4007750697.webp)
Section 9: Frequently asked questions (FAQs) Model 2657A High Power System SourceMeter® Instrument Reference Manual
9-4
2657A-901-01 Rev. B/December 2012
How do I generate a GPIB service request?
For detailed information about this topic, see the
(on page E-1) section of this manual.
Setting up a service request
The exact programming steps necessary to generate a GPIB service request (SRQ) vary, depending
on the events intended to generate the SRQ. In general, these steps are:
1. Clear all status registers to prevent anomalous events from generating an SRQ.
2. Set the appropriate bits in the appropriate status model enable registers.
3. Set the proper bits in the service request enable register. At least one bit in this register must
always be set, but the exact bits to be set will depend on the desired SRQ events.
Service request programming example
The example below shows how to program the Model 2657A to generate a service request (SRQ)
when the current limit on channel A is exceeded.
-- Clear all registers.
status.reset()
-- Enable the current limit bit in the current limit register.
status.measurement.current_limit.enable = status.measurement.current_limit.SMUA
-- Enable the status measure current limit bit.
status.measurement.enable = status.measurement.ILMT
-- Enable the status SRQ MSB.
status.request_enable = status.MSB
Polling for SRQs
To determine if the Model 2657A is the GPIB device that generated the service request (SRQ), serial
poll the instrument for the status byte, and test to see if the corresponding summary bits are set.
How do I store measurements in nonvolatile memory?
After the measurements are complete, you can save the reading buffer data to the nonvolatile
memory in the instrument.
NOTE
Содержание 2657A
Страница 3: ......