Section 9: Frequently asked questions (FAQs)
Series 2600B System SourceMeter® Instrument Reference Manual
9-4
2600BS-901-01 Rev. B / May 2013
How do I generate a GPIB service request?
For detailed information about this topic, see the
Status model
(on page 5-14, 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 Series 2600B 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 Series 2600B 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.
Содержание System SourceMeter 2601B
Страница 841: ......